File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 14
14
"DJANGO_SECRET_KEY" ,
15
15
default = "AcnZMguCngDeMgbwXf6l9d2arow2lU9ZkDweNnoCZmZ2qH6pinB4tLhEYI4Fgf6Y" ,
16
16
)
17
- # https://docs.djangoproject.com/en/dev/ref/settings/#test-runner
18
- TEST_RUNNER = "django.test.runner.DiscoverRunner"
19
17
20
18
# CACHES
21
19
# ------------------------------------------------------------------------------
27
25
}
28
26
}
29
27
30
- # PASSWORDS
31
- # ------------------------------------------------------------------------------
32
- # https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
33
- PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher" ]
34
-
35
28
# TEMPLATES
36
29
# ------------------------------------------------------------------------------
37
30
TEMPLATES [0 ]["OPTIONS" ]["loaders" ] = [ # noqa F405
Original file line number Diff line number Diff line change
1
+ [pytest]
2
+ python_files = tests.py test_*.py *_tests.py
3
+ norecursedirs = staticfiles .git templates __pycache__
4
+ DJANGO_SETTINGS_MODULE = config.settings.test
5
+ FAIL_INVALID_TEMPLATE_VARS = 1
You can’t perform that action at this time.
0 commit comments