Skip to content

Commit 3098165

Browse files
black
1 parent 356cf20 commit 3098165

File tree

1 file changed

+6
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-flask/tests

1 file changed

+6
-2
lines changed

instrumentation/opentelemetry-instrumentation-flask/tests/base_test.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def _custom_response_headers():
7676
resp = flask.Response("test response")
7777
resp.headers["content-type"] = "text/plain; charset=utf-8"
7878
resp.headers["content-length"] = "13"
79-
resp.headers["my-custom-header"] = "my-custom-value-1,my-custom-header-2"
79+
resp.headers[
80+
"my-custom-header"
81+
] = "my-custom-value-1,my-custom-header-2"
8082
resp.headers[
8183
"my-custom-regex-header-1"
8284
] = "my-custom-regex-value-1,my-custom-regex-value-2"
@@ -101,7 +103,9 @@ def excluded2_endpoint():
101103
self.app.route("/excluded/<int:helloid>")(self._hello_endpoint)
102104
self.app.route("/excluded")(excluded_endpoint)
103105
self.app.route("/excluded2")(excluded2_endpoint)
104-
self.app.route("/test_custom_response_headers")(self._custom_response_headers)
106+
self.app.route("/test_custom_response_headers")(
107+
self._custom_response_headers
108+
)
105109

106110
# pylint: disable=attribute-defined-outside-init
107111
self.client = Client(self.app, Response)

0 commit comments

Comments
 (0)