kiwicom / pytest-recording

A pytest plugin that allows recording network interactions via VCR.py
MIT License
445 stars 35 forks source link

Control what components to patch in `block_network` #16

Open Stranger6667 opened 5 years ago

Stranger6667 commented 5 years ago

Sometimes it is needed to use only one or another library to access the network. E.g., sometimes socket is ok, but pycurl is not, or in the case if there will be more libraries to patch (maybe psycopg2 or some others), then it would be nice to have some granular control over what to disable and what is not.

Implementation notes: