diff options
Diffstat (limited to 'run_aiotest.py')
-rw-r--r-- | run_aiotest.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/run_aiotest.py b/run_aiotest.py index 2b3ce09..b312bb2 100644 --- a/run_aiotest.py +++ b/run_aiotest.py @@ -1,8 +1,14 @@ +#import eventlet; eventlet.monkey_patch() + import aioeventlet import aiotest.run import eventlet config = aiotest.TestConfig() -config.new_event_pool_policy = aioeventlet.EventLoopPolicy +config.asyncio = aioeventlet.asyncio +config.socket = eventlet.patcher.original('socket') +config.threading = eventlet.patcher.original('threading') config.sleep = eventlet.sleep +config.socketpair = aioeventlet.socketpair +config.new_event_pool_policy = aioeventlet.EventLoopPolicy aiotest.run.main(config) |