minor fixes to testing utils

This commit is contained in:
MinRK
2014-09-13 22:41:45 -07:00
parent a245641886
commit 970e4d2ce2
2 changed files with 10 additions and 9 deletions

View File

@@ -38,12 +38,12 @@ def db():
@fixture
def io_loop():
"""Get the current IOLoop"""
ioloop.IOLoop.clear_current()
return ioloop.IOLoop.current()
loop = ioloop.IOLoop()
loop.make_current()
return loop
@fixture
@fixture(scope='module')
def app(request):
app = MockHubApp()
app.start([])