test whether it works like this

This commit is contained in:
Filip Valder
2016-11-26 01:08:08 +01:00
parent b00a34f1f2
commit 4a78d4ece9

View File

@@ -101,8 +101,9 @@ def testpdc():
def upgradedb():
""" Upgrades the database schema to the latest revision
"""
thisdir = os.path.abspath(os.path.dirname(__file__))
with app.app_context():
flask_migrate.upgrade()
flask_migrate.upgrade(directory=thisdir)
insert_fake_baseruntime()