mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +03:00
Use pytest-django --reuse-db for faster tests (#2312)
Use pytest-django --reuse-db for faster tests
This commit is contained in:
commit
71cd0c1780
|
@ -1,5 +1,5 @@
|
|||
[pytest]
|
||||
addopts = --ds=config.settings.test
|
||||
addopts = --ds=config.settings.test --reuse-db
|
||||
python_files = tests.py test_*.py
|
||||
{%- if cookiecutter.js_task_runner != 'None' %}
|
||||
norecursedirs = node_modules
|
||||
|
|
Loading…
Reference in New Issue
Block a user