Skip to content

Commit 2352199

Browse files
httpx_issue_979 - Linter issue corrected
Signed-off-by: Peri, Suryanarayana <[email protected]>
1 parent 6cad17e commit 2352199

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
@@ -1216,13 +1216,12 @@ def test_basic_multiple(self):
12161216
self.perform_request(self.URL, client=self.client2)
12171217
self.assert_span(num_spans=2)
12181218

1219-
def test_no_op_tracer_provider(self):
1219+
async def test_no_op_tracer_provider(self):
12201220
HTTPXClientInstrumentor().uninstrument()
12211221
HTTPXClientInstrumentor().instrument(
12221222
tracer_provider=trace_api.NoOpTracerProvider()
12231223
)
1224-
async with httpx.AsyncClient() as client:
1224+
async with httpx.AsyncClient() as client:
12251225
await client.get('http://test.com')
1226-
12271226
spans = self.memory_exporter.get_finished_spans()
12281227
self.assertEqual(len(spans), 0)

0 commit comments

Comments
 (0)