tox: Hide deprecation warnings from stdlib

This makes the output sooo much more readable.

Change-Id: I3376d2d97ebfd014006e69710c00d859491c92ce
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2018-10-19 14:30:48 +01:00
parent 918c20e2ba
commit 7152b9177b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:functional]
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
PYTHONWARNINGS=default::DeprecationWarning,ignore::DeprecationWarning:distutils,ignore::DeprecationWarning:site
OS_TEST_PATH=./osc_placement/tests/functional
# NOTE(rpodolyaka): allow passing of keystone credentials via env variables
passenv = OS_*