Add domain to tests, make local use right settings

This commit is contained in:
Andrew Godwin 2022-11-20 23:21:42 -07:00
parent da936cd7df
commit 3131ace8a6
2 changed files with 3 additions and 2 deletions

View file

@ -8,8 +8,7 @@ profile = black
multi_line_output = 3
[tool:pytest]
addopts = --tb=short
DJANGO_SETTINGS_MODULE = takahe.settings.testing
addopts = --tb=short --ds=takahe.settings.testing
filterwarnings =
ignore:There is no current event loop

View file

@ -4,3 +4,5 @@ from .base import * # noqa
SECRET_KEY = "testing_secret"
IN_TESTS = True
MAIN_DOMAIN = "example.com"