diff options
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | takahe/settings/testing.py | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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" |