File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
instrumentation/opentelemetry-instrumentation-logging/tests Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,9 @@ def test_trace_context_injection(self):
9999 span_id = format (span .get_span_context ().span_id , "016x" )
100100 trace_id = format (span .get_span_context ().trace_id , "032x" )
101101 trace_sampled = span .get_span_context ().trace_flags .sampled
102- self .assert_trace_context_injected (span_id , trace_id , trace_sampled )
102+ self .assert_trace_context_injected (
103+ span_id , trace_id , trace_sampled
104+ )
103105
104106 def test_trace_context_injection_without_span (self ):
105107 self .assert_trace_context_injected ("0" , "0" , False )
@@ -185,7 +187,9 @@ def test_uninstrumented(self):
185187 span_id = format (span .get_span_context ().span_id , "016x" )
186188 trace_id = format (span .get_span_context ().trace_id , "032x" )
187189 trace_sampled = span .get_span_context ().trace_flags .sampled
188- self .assert_trace_context_injected (span_id , trace_id , trace_sampled )
190+ self .assert_trace_context_injected (
191+ span_id , trace_id , trace_sampled
192+ )
189193
190194 LoggingInstrumentor ().uninstrument ()
191195
You can’t perform that action at this time.
0 commit comments