File tree 1 file changed +7
-5
lines changed
instrumentation/opentelemetry-instrumentation-fastapi/tests
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # pylint: disable=too-many-lines
16
+
15
17
import unittest
16
18
from timeit import default_timer
17
19
from unittest .mock import patch
@@ -699,11 +701,11 @@ class TestHTTPAppWithCustomHeadersParameters(TestBase):
699
701
def setUp (self ):
700
702
super ().setUp ()
701
703
self .instrumentor = otel_fastapi .FastAPIInstrumentor ()
702
- self .kwargs = dict (
703
- http_capture_headers_server_request = ["a.*" , "b.*" ],
704
- http_capture_headers_server_response = ["c.*" , "d.*" ],
705
- http_capture_headers_sanitize_fields = [".*secret.*" ],
706
- )
704
+ self .kwargs = {
705
+ " http_capture_headers_server_request" : ["a.*" , "b.*" ],
706
+ " http_capture_headers_server_response" : ["c.*" , "d.*" ],
707
+ " http_capture_headers_sanitize_fields" : [".*secret.*" ],
708
+ }
707
709
self .app = None
708
710
709
711
def tearDown (self ) -> None :
You can’t perform that action at this time.
0 commit comments