Replies: 1 comment
-
|
The intended usage is to pass the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
We are trying to disable socks globally via the following snippet in our conftest file:
This works as expected.
Now we are trying to allow a specific test to allow sockets via the
@pytest.mark.allow_hostsdecorator. What we're noticing is that even if we allow specific hostnames (and we can see them in the allowed list stepping through the code), sincesocket.socketwas already set asGuardedSocket, we getSocketBlockedErrorraised.Is a way for us to accomplish this by disabling sockets globally, then allowing certain tests to bypass via allow_hosts decorator?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions