From 0e0b63f08e6c5c52df5d12817f78333cca105154 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 8 Jun 2025 10:45:29 +0200 Subject: fix postgres connection URL in tests --- ci/run_tests.sh | 3 ++- tox.ini | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 1ba2836..adf69b7 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://postgres:postgres@localhost/postgres|' testing.ini ;; *) @@ -42,6 +42,7 @@ case "$DB" in ;; esac +pip install tox setup_playwright setup_redis tox -e python -- --browser firefox diff --git a/tox.ini b/tox.ini index 17d6bdb..3fad742 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,9 @@ envlist = python,pylint,pylint-tests,flake,mypy,black,isort isolated_build = true [testenv] -deps = poetry +deps = + poetry + psycopg2 skip_install = true passenv = TERM -- cgit v1.2.3