Commit 847fce4a authored by delanoe's avatar delanoe

[SESSIONS] session to scoped_session for tests.

parent f2917ee4
...@@ -140,8 +140,8 @@ def get_session(): ...@@ -140,8 +140,8 @@ def get_session():
Session = get_sessionmaker() Session = get_sessionmaker()
return scoped_session(Session) return scoped_session(Session)
sessionMaker = get_sessionmaker() session = get_session()
session = sessionMaker()
# SQLAlchemy model objects caching # SQLAlchemy model objects caching
from sqlalchemy import or_ from sqlalchemy import or_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment