File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
instrumentation/opentelemetry-instrumentation-logging/tests Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3131 LoggingInstrumentor ,
3232)
3333from opentelemetry .test .test_base import TestBase
34- from opentelemetry .trace import ProxyTracer , get_tracer
34+ from opentelemetry .trace import NoOpTracerProvider , ProxyTracer , get_tracer
3535
3636
3737class FakeTracerProvider :
@@ -326,9 +326,7 @@ def test_call_method_processes_log_correctly(self):
326326 }
327327
328328 # Call the __call__ method of StructlogHandler
329- processed_event = exporter_instance (
330- logger = None , name = None , event_dict = event_dict
331- )
329+ _ = exporter_instance (logger = None , name = None , event_dict = event_dict )
332330
333331 # Assert that the logger's emit method was called with the processed event
334332 logger .emit .assert_called_once ()
You can’t perform that action at this time.
0 commit comments