mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
turn off database echo in tests
it's a bunch of noise
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
|
Reference in New Issue
Block a user