From 86591023713a272ae9c494a8454a651456f44d88 Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 12 Jun 2024 13:15:26 -0600 Subject: [PATCH] Fix lint --- .../tests/test_aws_xray_lambda_propagator.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/propagator/opentelemetry-propagator-aws-xray/tests/test_aws_xray_lambda_propagator.py b/propagator/opentelemetry-propagator-aws-xray/tests/test_aws_xray_lambda_propagator.py index ca36583937..a0432d1457 100644 --- a/propagator/opentelemetry-propagator-aws-xray/tests/test_aws_xray_lambda_propagator.py +++ b/propagator/opentelemetry-propagator-aws-xray/tests/test_aws_xray_lambda_propagator.py @@ -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, ) @@ -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, @@ -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,