mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
minor fixes to testing utils
This commit is contained in:
@@ -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([])
|
||||
|
Reference in New Issue
Block a user