Skip to content

Commit

Permalink
httpx_issue_979 - Linter correction - use of double quote instead of …
Browse files Browse the repository at this point in the history
…single quote for the client url

Signed-off-by: Peri, Suryanarayana <[email protected]>
  • Loading branch information
SuryanarayanaPeri committed Aug 2, 2024
1 parent 51b2910 commit 102a8ca
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
from opentelemetry.test.mock_textmap import MockTextMapPropagator
from opentelemetry.test.test_base import TestBase
from opentelemetry.trace import StatusCode
from opentelemetry import trace as trace_api

if typing.TYPE_CHECKING:
from opentelemetry.instrumentation.httpx import (
Expand Down Expand Up @@ -1219,9 +1218,9 @@ def test_basic_multiple(self):
async def test_no_op_tracer_provider(self):
HTTPXClientInstrumentor().uninstrument()
HTTPXClientInstrumentor().instrument(
tracer_provider=trace_api.NoOpTracerProvider()
tracer_provider=trace.NoOpTracerProvider()
)
async with httpx.AsyncClient() as client:
await client.get('http://test.com')
await client.get("http://test.com")
spans = self.memory_exporter.get_finished_spans()
self.assertEqual(len(spans), 0)

0 comments on commit 102a8ca

Please sign in to comment.