Tests: make sure DB overwrite actually takes

This commit is contained in:
Fabian Dill
2022-12-14 20:01:06 +01:00
committed by Fabian Dill
parent 22fe31a141
commit 94c6562f82
2 changed files with 4 additions and 3 deletions

View File

@@ -11,10 +11,11 @@ class TestDocs(unittest.TestCase):
"filename": ":memory:",
"create_db": True,
}
app = get_app()
app.config.update({
raw_app.config.update({
"TESTING": True,
})
app = get_app()
cls.client = app.test_client()
def testCorrectErrorEmptyRequest(self):