aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2026-10-05 00:36:36 +0200
committerDaniel Schadt <kingdread@gmx.de>2026-10-05 00:36:36 +0200
commit8f6ac033321ee355527d061c70efa5ee35ad40a2 (patch)
tree5772e36d2e5c8f21ac2b91448150976adac54c75
parentd9c51dbef226bd9816f94f46144e399cb0b05ed3 (diff)
downloadfietsboek-8f6ac033321ee355527d061c70efa5ee35ad40a2.tar.gz
fietsboek-8f6ac033321ee355527d061c70efa5ee35ad40a2.tar.bz2
fietsboek-8f6ac033321ee355527d061c70efa5ee35ad40a2.zip
use psycopg2 in tests
SQLAlchemy now uses psycopg by default (which we can switch to), but currently it causes issues because the module is not found.
-rwxr-xr-xci/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 200f794..6fad536 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -33,7 +33,7 @@ case "$DB" in
"postgres")
setup_postgres
- sed -i 's|^sqlalchemy.url = .*$|sqlalchemy.url = postgresql://postgres:postgres@localhost/postgres|' testing.ini
+ sed -i 's|^sqlalchemy.url = .*$|sqlalchemy.url = postgresql+psycopg2://postgres:postgres@localhost/postgres|' testing.ini
;;
*)