Skip to content

Commit 18f54fd

Browse files
committed
revert first mock
Signed-off-by: emdneto <[email protected]>
1 parent 3503e61 commit 18f54fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ def test_client_mounts_with_instrumented_transport(self):
725725
spans[1].attributes[SpanAttributes.HTTP_URL], https_url
726726
)
727727

728+
@mock.patch.dict("os.environ", {"NO_PROXY": ""}, clear=True)
728729
class BaseInstrumentorTest(BaseTest, metaclass=abc.ABCMeta):
729730
@abc.abstractmethod
730731
def create_client(
@@ -994,7 +995,6 @@ def test_instrument_with_no_proxy(self):
994995
result = self.perform_request(self.URL, client=client)
995996
self.assert_span(num_spans=1)
996997
self.assertEqual(result.text, "Hello!")
997-
print(client._mounts)
998998
self.assert_proxy_mounts(
999999
client._mounts.values(),
10001000
3,

0 commit comments

Comments
 (0)