@@ -683,6 +683,7 @@ def test_export_unsampled_span_for_lambda(self):
683683 os .environ .pop ("OTEL_AWS_APPLICATION_SIGNALS_ENABLED" , None )
684684 os .environ .pop ("AWS_LAMBDA_FUNCTION_NAME" , None )
685685
686+ # pylint: disable=no-self-use
686687 def test_export_unsampled_span_for_agent_observability (self ):
687688 mock_tracer_provider : TracerProvider = MagicMock ()
688689
@@ -702,6 +703,7 @@ def test_export_unsampled_span_for_agent_observability(self):
702703 os .environ .pop ("AGENT_OBSERVABILITY_ENABLED" , None )
703704 os .environ .pop ("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT" , None )
704705
706+ # pylint: disable=no-self-use
705707 def test_export_unsampled_span_for_agent_observability_uses_aws_exporter (self ):
706708 """Test that OTLPAwsSpanExporter is used for AWS endpoints"""
707709 mock_tracer_provider : TracerProvider = MagicMock ()
@@ -734,6 +736,7 @@ def test_export_unsampled_span_for_agent_observability_uses_aws_exporter(self):
734736 os .environ .pop ("AGENT_OBSERVABILITY_ENABLED" , None )
735737 os .environ .pop ("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT" , None )
736738
739+ # pylint: disable=no-self-use
737740 def test_customize_span_processors_with_agent_observability (self ):
738741 """Test that _customize_span_processors calls _export_unsampled_span_for_agent_observability"""
739742 mock_tracer_provider : TracerProvider = MagicMock ()
0 commit comments