py.test: rerun and print warnings by default

This commit is contained in:
Raphael Michel
2016-09-27 11:06:58 +02:00
parent 3bc2ddf79d
commit b6a34975a9
3 changed files with 2 additions and 3 deletions

View File

@@ -1,2 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE=tests.settings
addopts =--rerun 3 -rw

View File

@@ -12,3 +12,4 @@ pytest-django
isort
pytest-mock
pytest-rerunfailures
pytest-warnings