turn off database echo in tests

it's a bunch of noise
This commit is contained in:
Min RK
2017-02-15 11:29:48 +01:00
parent 7afbe952e6
commit 3996fa00ef

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