gabrielfalcao / HTTPretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module

Home Page:https://httpretty.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for geventhttpclient

sboisson opened this issue · comments

Network calls from geventhttpclient which use native gevent API are not intercepted by HTTPretty

Hi there, I am the author of mocket, which supports gevent and has a compatibility layer for using it the same way you use HTTPretty. You could give it a try: https://github.com/mindflayer/python-mocket/