mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-01 19:51:00 +00:00
Add domain to tests, make local use right settings
This commit is contained in:
parent
da936cd7df
commit
3131ace8a6
2 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,7 @@ profile = black
|
||||||
multi_line_output = 3
|
multi_line_output = 3
|
||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
addopts = --tb=short
|
addopts = --tb=short --ds=takahe.settings.testing
|
||||||
DJANGO_SETTINGS_MODULE = takahe.settings.testing
|
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
ignore:There is no current event loop
|
ignore:There is no current event loop
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,5 @@ from .base import * # noqa
|
||||||
SECRET_KEY = "testing_secret"
|
SECRET_KEY = "testing_secret"
|
||||||
|
|
||||||
IN_TESTS = True
|
IN_TESTS = True
|
||||||
|
|
||||||
|
MAIN_DOMAIN = "example.com"
|
||||||
|
|
Loading…
Reference in a new issue