From 8736e46cb3ec1c6999a98f9974d200b755612a7d Mon Sep 17 00:00:00 2001 From: Hugo Rodger-Brown Date: Mon, 18 Sep 2023 14:19:34 +0100 Subject: [PATCH] Fix --- tests/settings_postgres.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/settings_postgres.py b/tests/settings_postgres.py index de718bf..325e07c 100644 --- a/tests/settings_postgres.py +++ b/tests/settings_postgres.py @@ -5,6 +5,6 @@ DEFAULT_DATABASE_URL = "postgres://postgres@localhost:5432/django_anonymiser" DATABASE_URL = getenv("DATABASE_URL", DEFAULT_DATABASE_URL) +print("DATABASES", DATABASES) DATABASES["default"] = dj_database_url.parse(DATABASE_URL) # noqa: F405 -print(DATABASES) diff --git a/tox.ini b/tox.ini index 7dd0546..63e9a21 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ deps = django commands = - pytest --verbose --ds=tests.settings_postgres tests/ + pytest --verbose -s --ds=tests.settings_postgres tests/ [testenv:django-checks] description = Django system checks and missing migrations