fix tests
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
weeman 2021-07-12 18:37:54 +02:00
parent 5bd6c827d8
commit a1502fea9c
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1

View File

@ -15,6 +15,7 @@ class ApiTest(unittest.TestCase):
def setUp(self): def setUp(self):
app.debug = True app.debug = True
app.config["KI_AUTH"] = "file"
app.config["TESTING"] = True app.config["TESTING"] = True
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///:memory:" app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///:memory:"