File tree 1 file changed +2
-6
lines changed
instrumentation/opentelemetry-instrumentation-flask/tests
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,7 @@ def _custom_response_headers():
76
76
resp = flask .Response ("test response" )
77
77
resp .headers ["content-type" ] = "text/plain; charset=utf-8"
78
78
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"
82
80
resp .headers [
83
81
"my-custom-regex-header-1"
84
82
] = "my-custom-regex-value-1,my-custom-regex-value-2"
@@ -103,9 +101,7 @@ def excluded2_endpoint():
103
101
self .app .route ("/excluded/<int:helloid>" )(self ._hello_endpoint )
104
102
self .app .route ("/excluded" )(excluded_endpoint )
105
103
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 )
109
105
110
106
# pylint: disable=attribute-defined-outside-init
111
107
self .client = Client (self .app , Response )
You can’t perform that action at this time.
0 commit comments