Commit 643a2d04 authored by Hanspeter Spalinger's avatar Hanspeter Spalinger
Browse files

need a app context

parent 98b12d09
......@@ -4,6 +4,10 @@ from datetime import date, time, timedelta
from random import randint, choice
import string
from transporte import create_app
app = create_app()
app.app_context().push()
roles = ['helpdesk', 'user']
user = User.query.filter(User.login == 'test@psy.rocks').first()
......
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