We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a846c2f commit 6155adfCopy full SHA for 6155adf
tests/hook_main.py
@@ -1024,12 +1024,8 @@ def session_post(transaction):
1024
:return:
1025
"""
1026
with stash['app'].app_context():
1027
- event = EventFactoryBasic()
1028
- db.session.add(event)
1029
- db.session.commit()
1030
-
1031
- track = TrackFactory()
1032
- db.session.add(track)
+ session = SessionFactory()
+ db.session.add(session)
1033
db.session.commit()
1034
1035
0 commit comments