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