update tests with new default server ip ('')

and verify that starting a Spawner sets ip to localhost
This commit is contained in:
Min RK
2015-03-01 21:56:30 -08:00
parent 8ae0109322
commit f81d4ba44c
3 changed files with 5 additions and 4 deletions

View File

@@ -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(),