Add domain to tests, make local use right settings

pull/30/head
Andrew Godwin 2022-11-20 23:21:42 -07:00
rodzic da936cd7df
commit 3131ace8a6
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

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