We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a78c38 commit 0398478Copy full SHA for 0398478
instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py
@@ -765,13 +765,12 @@ def test_basic_multiple(self):
765
self.perform_request(self.URL, client=self.client2)
766
self.assert_span(num_spans=2)
767
768
- def test_no_op_tracer_provider(self):
+ async def test_no_op_tracer_provider(self):
769
HTTPXClientInstrumentor().uninstrument()
770
HTTPXClientInstrumentor().instrument(
771
tracer_provider=trace_api.NoOpTracerProvider()
772
)
773
- async with httpx.AsyncClient() as client:
+ async with httpx.AsyncClient() as client:
774
await client.get('http://test.com')
775
-
776
spans = self.memory_exporter.get_finished_spans()
777
self.assertEqual(len(spans), 0)
0 commit comments