Skip to content

Commit

Permalink
blackened
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Dec 11, 2020
1 parent 69c0d39 commit 5bb9e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion google/cloud/logging_v2/handlers/_helpers.py
Expand Up @@ -70,7 +70,7 @@ def get_request_data_from_flask():
"user_agent": flask.request.user_agent.string,
"remote_ip": flask.request.remote_addr,
"referer": flask.request.referrer,
"protocol": flask.request.environ.get(_PROTOCOL_HEADER)
"protocol": flask.request.environ.get(_PROTOCOL_HEADER),
}

# find trace id
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/handlers/test__helpers.py
Expand Up @@ -121,6 +121,7 @@ def test_http_request_sparse(self):
self.assertIsNone(http_request["request_size"])
self.assertEqual(set(http_request.keys()), set(_HTTP_REQUEST_FIELDS))


class Test_get_request_data_from_django(unittest.TestCase):
@staticmethod
def _call_fut():
Expand Down Expand Up @@ -223,7 +224,6 @@ def test_http_request_sparse(self):
self.assertEqual(set(http_request.keys()), set(_HTTP_REQUEST_FIELDS))



class Test_get_request_data(unittest.TestCase):
@staticmethod
def _call_fut():
Expand Down

0 comments on commit 5bb9e51

Please sign in to comment.