Merge pull request #984 from minrk/spawner-shell

allow customization of spawn command
This commit is contained in:
Carol Willing
2017-02-17 10:43:31 -08:00
committed by GitHub
5 changed files with 124 additions and 33 deletions

View File

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