File tree 1 file changed +6
-2
lines changed
instrumentation/opentelemetry-instrumentation-logging/tests
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):
99
99
span_id = format (span .get_span_context ().span_id , "016x" )
100
100
trace_id = format (span .get_span_context ().trace_id , "032x" )
101
101
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
+ )
103
105
104
106
def test_trace_context_injection_without_span (self ):
105
107
self .assert_trace_context_injected ("0" , "0" , False )
@@ -185,7 +187,9 @@ def test_uninstrumented(self):
185
187
span_id = format (span .get_span_context ().span_id , "016x" )
186
188
trace_id = format (span .get_span_context ().trace_id , "032x" )
187
189
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
+ )
189
193
190
194
LoggingInstrumentor ().uninstrument ()
191
195
You can’t perform that action at this time.
0 commit comments