Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jun 12, 2024
1 parent 0944484 commit 8659102
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
from opentelemetry.sdk.trace import ReadableSpan
from opentelemetry.trace import (
Link,
TraceState,
get_current_span,
NonRecordingSpan,
SpanContext,
use_span
TraceState,
get_current_span,
use_span,
)


Expand All @@ -45,9 +45,7 @@ def test_extract_no_environment_variable(self):
)
).get_span_context()

self.assertEqual(
hex(actual_context.trace_id), "0x0"
)
self.assertEqual(hex(actual_context.trace_id), "0x0")
self.assertEqual(hex(actual_context.span_id), "0x0")
self.assertFalse(
actual_context.trace_flags.sampled,
Expand All @@ -64,9 +62,7 @@ def test_extract_no_environment_variable_valid_context(self):
)
).get_span_context()

self.assertEqual(
hex(actual_context.trace_id), "0x1"
)
self.assertEqual(hex(actual_context.trace_id), "0x1")
self.assertEqual(hex(actual_context.span_id), "0x2")
self.assertFalse(
actual_context.trace_flags.sampled,
Expand Down

0 comments on commit 8659102

Please sign in to comment.