]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - tests/test_wradmin.py
Insert testdb.sql as raw SQL.
[philipp/winterrodeln/wradmin.git] / tests / test_wradmin.py
index db266652cfce54021de9b3b8c2f3990a3d5b5d9d..eb8a9ccf5d2e9306f0a120f90672850f70c4e18d 100644 (file)
@@ -50,7 +50,7 @@ class TestDbWradmin(WradminTestBase):
             with open('tests/testdb.sql', 'r') as f:
                 sql = f.read()
             with wradmin.model.meta.engine.begin() as con:
-                con.execute(sql)
+                con.execution_options(no_parameters=True).execute(sql)
 
                 # update dates
                 seconds_diff, = con.execute("SELECT TIMESTAMPDIFF(SECOND, '2017-03-31 07:00', now())").fetchone()