mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
update tests with new default server ip ('')
and verify that starting a Spawner sets ip to localhost
This commit is contained in:
@@ -22,7 +22,7 @@ def db():
|
||||
"""Get a db session"""
|
||||
global _db
|
||||
if _db is None:
|
||||
_db = orm.new_session_factory('sqlite:///:memory:', echo=True)()
|
||||
_db = orm.new_session_factory('sqlite:///:memory:')()
|
||||
user = orm.User(
|
||||
name=getuser(),
|
||||
server=orm.Server(),
|
||||
|
Reference in New Issue
Block a user