Add reruns for flaky selenium tests

This commit is contained in:
Johannes Hoppe 2017-05-17 10:01:36 +02:00
parent 4147cac2f8
commit 67b7e755fe
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@ isort
pydocstyle
pytest
pytest-django
pytest-rerunfailures
selenium
sphinx
sphinxcontrib-spelling

View file

@ -24,6 +24,7 @@ pyflakes==1.5.0 # via flake8
pygments==2.2.0 # via sphinx
pytest-django==3.1.2
pytest==3.0.7
pytest-rerunfailures==2.1.0
pytz==2017.2 # via babel
redis==2.10.5 # via django-redis
selenium==3.3.3

View file

@ -14,6 +14,7 @@ commands=
coverage run --source=django_select2 -m 'pytest' \
--basetemp={envtmpdir} \
--ignore=.tox \
--reruns 3 \
{posargs}
[testenv:qa]