Add support for tests that use django.test.Client and that require a database, and use this support to test some of the wellknowns.views modules
This commit is contained in:
parent
380afe9831
commit
cbc24d4774
6 changed files with 44 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = lemoncurry.settings.dev
|
||||
DJANGO_SETTINGS_MODULE = lemoncurry.settings.test
|
||||
python_files = tests/*.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue