Skip to content

Commit 356cf20

Browse files
black
1 parent d5da755 commit 356cf20

File tree

1 file changed

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

1 file changed

+2
-6
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-flask/tests/base_test.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ 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[
80-
"my-custom-header"
81-
] = "my-custom-value-1,my-custom-header-2"
79+
resp.headers["my-custom-header"] = "my-custom-value-1,my-custom-header-2"
8280
resp.headers[
8381
"my-custom-regex-header-1"
8482
] = "my-custom-regex-value-1,my-custom-regex-value-2"
@@ -103,9 +101,7 @@ def excluded2_endpoint():
103101
self.app.route("/excluded/<int:helloid>")(self._hello_endpoint)
104102
self.app.route("/excluded")(excluded_endpoint)
105103
self.app.route("/excluded2")(excluded2_endpoint)
106-
self.app.route("/test_custom_response_headers")(
107-
self._custom_response_headers
108-
)
104+
self.app.route("/test_custom_response_headers")(self._custom_response_headers)
109105

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

0 commit comments

Comments
 (0)