Commit 8127c0af authored by Raphaël Hertzog's avatar Raphaël Hertzog

tox: ignore warnings coming from site.py

Latest python versions generate warnings with the site.py embedded in
virtualenv: https://github.com/pypa/virtualenv/issues/1120
parent 8afb46c3
......@@ -23,10 +23,12 @@ whitelist_externals =
xvfb-run
# The "-W ignore:::pysimplesoap.transport:" parameter for the no-warnings call is due
# to this bug: https://github.com/pysimplesoap/pysimplesoap/issues/159
# The "-W ignore:::site:" parameter for the no-warnings call is due to this bug:
# https://github.com/pypa/virtualenv/issues/1120
setenv = LANG=C
commands =
unit-tests: {envpython} ./manage.py test django_email_accounts distro_tracker
no-warnings: {envpython} -W error -W ignore:::pysimplesoap.transport: ./manage.py test django_email_accounts distro_tracker
no-warnings: {envpython} -W error -W ignore:::pysimplesoap.transport: -W ignore:::site: ./manage.py test django_email_accounts distro_tracker
show-warnings: {envpython} -W all ./manage.py test django_email_accounts distro_tracker
functional-tests: xvfb-run {envpython} ./manage.py test functional_tests
check: {envpython} ./manage.py check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment