Skip to content

Commit 0398478

Browse files
httpx_issue_979 - Linter issue corrected
Signed-off-by: Peri, Suryanarayana <[email protected]>
1 parent 5a78c38 commit 0398478

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -765,13 +765,12 @@ def test_basic_multiple(self):
765765
self.perform_request(self.URL, client=self.client2)
766766
self.assert_span(num_spans=2)
767767

768-
def test_no_op_tracer_provider(self):
768+
async def test_no_op_tracer_provider(self):
769769
HTTPXClientInstrumentor().uninstrument()
770770
HTTPXClientInstrumentor().instrument(
771771
tracer_provider=trace_api.NoOpTracerProvider()
772772
)
773-
async with httpx.AsyncClient() as client:
773+
async with httpx.AsyncClient() as client:
774774
await client.get('http://test.com')
775-
776775
spans = self.memory_exporter.get_finished_spans()
777776
self.assertEqual(len(spans), 0)

0 commit comments

Comments
 (0)