Enable DeprecationWarning in test environments

Many deprecations are triggered early (on imports, for example).
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.

Change-Id: I87f12745f61d86f465b6ed4ca7814c3fa3a64fc9
This commit is contained in:
Deepak 2016-10-26 13:25:04 +05:30
parent 09b1a1b637
commit 4cca8a1daa

View File

@ -11,6 +11,7 @@ whitelist_externals = bash
rm
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt