diff --git a/setup.cfg b/setup.cfg index e615e49..862d7c3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/takahe/settings/testing.py b/takahe/settings/testing.py index 7dffa2a..c0af28b 100644 --- a/takahe/settings/testing.py +++ b/takahe/settings/testing.py @@ -4,3 +4,5 @@ from .base import * # noqa SECRET_KEY = "testing_secret" IN_TESTS = True + +MAIN_DOMAIN = "example.com"