ohenrik / bitfinex

A Python client for the Bitfinex API
MIT License
58 stars 32 forks source link

Testing: Fix problem with pyOpenSSL and HTTPpretty during testing. #2

Closed ohenrik closed 6 years ago

ohenrik commented 6 years ago

Consider switching completely to python-mocket to fix problems when running tests.

A temporary (but annoying) fix is to uninstall pyOpenSSL before running tests:

pip uninstall pyOpenSSL
pytest -v
pip install pyOpenSSL

https://github.com/mindflayer/python-mocket/issues/65

mindflayer commented 6 years ago

I've just released mocket==2.3.0 which should fix the issues with pyOpenSSL.

ohenrik commented 6 years ago

Thank you for letting me know, i have recently switched over to using request_mock in combination with pytest instead. But it’s good to know that it is fixed for future cases. :)