mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 16: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
|
||||
|
||||
[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 a new issue