Add domain to tests, make local use right settings
This commit is contained in:
parent
da936cd7df
commit
3131ace8a6
|
@ -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
|
||||
|
||||
|
|
|
@ -4,3 +4,5 @@ from .base import * # noqa
|
|||
SECRET_KEY = "testing_secret"
|
||||
|
||||
IN_TESTS = True
|
||||
|
||||
MAIN_DOMAIN = "example.com"
|
||||
|
|
Loading…
Reference in New Issue