Add default tests.py file pattern to pytest

`./manage.py startapp` generates a tests.py file by default. This is
ignored by pytest unless specified.
This commit is contained in:
Dani Hodovic 2019-09-04 15:58:20 +02:00
parent 383e3ae2f0
commit c6bd37adcc
No known key found for this signature in database
GPG Key ID: 15433E10A71D1221

View File

@ -1,5 +1,6 @@
[pytest]
addopts = --ds=config.settings.test
python_files = tests.py test_*.py
{%- if cookiecutter.js_task_runner != 'None' %}
norecursedirs = node_modules
{%- endif %}