mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
c6bd37adcc
`./manage.py startapp` generates a tests.py file by default. This is ignored by pytest unless specified.
7 lines
169 B
INI
7 lines
169 B
INI
[pytest]
|
|
addopts = --ds=config.settings.test
|
|
python_files = tests.py test_*.py
|
|
{%- if cookiecutter.js_task_runner != 'None' %}
|
|
norecursedirs = node_modules
|
|
{%- endif %}
|