File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
instrumentation/opentelemetry-instrumentation-httpx/tests Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1216,13 +1216,12 @@ def test_basic_multiple(self):
1216
1216
self .perform_request (self .URL , client = self .client2 )
1217
1217
self .assert_span (num_spans = 2 )
1218
1218
1219
- def test_no_op_tracer_provider (self ):
1219
+ async def test_no_op_tracer_provider (self ):
1220
1220
HTTPXClientInstrumentor ().uninstrument ()
1221
1221
HTTPXClientInstrumentor ().instrument (
1222
1222
tracer_provider = trace_api .NoOpTracerProvider ()
1223
1223
)
1224
- async with httpx .AsyncClient () as client :
1224
+ async with httpx .AsyncClient () as client :
1225
1225
await client .get ('http://test.com' )
1226
-
1227
1226
spans = self .memory_exporter .get_finished_spans ()
1228
1227
self .assertEqual (len (spans ), 0 )
You can’t perform that action at this time.
0 commit comments