diff --git a/tests/settings_postgres.py b/tests/settings_postgres.py index 325e07c..28e5bcc 100644 --- a/tests/settings_postgres.py +++ b/tests/settings_postgres.py @@ -1,10 +1,12 @@ -from tests.settings import * # noqa +from .settings import * # noqa from os import getenv import dj_database_url +print("DATABASES (before)", DATABASES) DEFAULT_DATABASE_URL = "postgres://postgres@localhost:5432/django_anonymiser" DATABASE_URL = getenv("DATABASE_URL", DEFAULT_DATABASE_URL) -print("DATABASES", DATABASES) +print("DATABASE_URL", DATABASE_URL) DATABASES["default"] = dj_database_url.parse(DATABASE_URL) # noqa: F405 +print("DATABASES (after)", DATABASES)