Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Sep 18, 2023
1 parent a986b7f commit 8736e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/settings_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8736e46

Please sign in to comment.