We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f552db commit 3902028Copy full SHA for 3902028
instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py
@@ -929,8 +929,9 @@ def test_instrument_client_called_on_the_class(self):
929
self.assert_span(num_spans=1)
930
931
def test_instrument_multiple_clients_with_the_same_transport(self):
932
- client1 = typing.cast(httpx.Client, self.create_client())
933
- client2 = self.create_client(client1._transport)
+ transport = self.create_transport()
+ client1 = self.create_client(transport=transport)
934
+ client2 = self.create_client(trasnport=transport)
935
936
HTTPXClientInstrumentor().instrument_client(client1)
937
HTTPXClientInstrumentor().instrument_client(client2)
0 commit comments