ToastFreeware
/
philipp
/
winterrodeln
/
wrpylib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b1c90
)
Insert testdb.sql as raw SQL.
author
Philipp Spitzer
<philipp@spitzer.priv.at>
Sat, 27 Jun 2020 20:53:43 +0000
(22:53 +0200)
committer
Philipp Spitzer
<philipp@spitzer.priv.at>
Mon, 29 Jun 2020 20:51:10 +0000
(22:51 +0200)
tests/test_wrmwdb.py
patch
|
blob
|
history
diff --git
a/tests/test_wrmwdb.py
b/tests/test_wrmwdb.py
index 30638b17ea5b2e48802b2b448d5b0d480edd1235..75b0a8f6b739011f4b82abce732c4f2ff2bcd2dc 100644
(file)
--- a/
tests/test_wrmwdb.py
+++ b/
tests/test_wrmwdb.py
@@
-16,7
+16,7
@@
def setup_test_database():
with open(testdb, 'r') as f:
sql = f.read()
with engine.begin() as con:
- con.execute(sql)
+ con.execut
ion_options(no_parameters=True).execut
e(sql)
# update dates
seconds_diff, = con.execute("SELECT TIMESTAMPDIFF(SECOND, '2017-03-31 07:00', now())").fetchone()