diff options
author | Andrew Godwin | 2022-11-20 23:21:42 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-20 23:21:42 -0700 |
commit | 3131ace8a6700540a4a3af069471672ae03bc8a8 (patch) | |
tree | f9b7609deef3b74fb65fdaab164a9c29be478584 | |
parent | da936cd7df299d81b6c83d219ae54cf0075d88c7 (diff) | |
download | takahe-3131ace8a6700540a4a3af069471672ae03bc8a8.tar.gz takahe-3131ace8a6700540a4a3af069471672ae03bc8a8.tar.bz2 takahe-3131ace8a6700540a4a3af069471672ae03bc8a8.zip |
Add domain to tests, make local use right settings
-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" |