After the change in responses 0.24.0 (https://github.com/getsentry/responses/pull/685/) all tests fail as socket.socket is accessed within the library. This change uses socket_enabled fixture from pytest-socket library so that any time an ElmoClient fixture is used, sockets are enabled.
This change should not have negative impacts as responses is still not making any call to external services.
Testing:
Run any test that access client fixture.
Extra Notes (optional):
n/a
Checklist
[x] Related issues and proposed changes are filled
[x] Tests are defining the correct and expected behavior
Related Issues
Proposed Changes:
After the change in
responses
0.24.0 (https://github.com/getsentry/responses/pull/685/) all tests fail assocket.socket
is accessed within the library. This change usessocket_enabled
fixture frompytest-socket
library so that any time anElmoClient
fixture is used, sockets are enabled.This change should not have negative impacts as
responses
is still not making any call to external services.Testing:
Run any test that access
client
fixture.Extra Notes (optional):
n/a
Checklist