We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cad17e commit 2352199Copy full SHA for 2352199
instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py
@@ -1216,13 +1216,12 @@ def test_basic_multiple(self):
1216
self.perform_request(self.URL, client=self.client2)
1217
self.assert_span(num_spans=2)
1218
1219
- def test_no_op_tracer_provider(self):
+ async def test_no_op_tracer_provider(self):
1220
HTTPXClientInstrumentor().uninstrument()
1221
HTTPXClientInstrumentor().instrument(
1222
tracer_provider=trace_api.NoOpTracerProvider()
1223
)
1224
- async with httpx.AsyncClient() as client:
+ async with httpx.AsyncClient() as client:
1225
await client.get('http://test.com')
1226
-
1227
spans = self.memory_exporter.get_finished_spans()
1228
self.assertEqual(len(spans), 0)
0 commit comments