diff options
author | ricolin <rico.lin@easystack.cn> | 2016-11-22 15:59:17 +0800 |
---|---|---|
committer | Rico Lin <rico.lin.guanyu@gmail.com> | 2017-05-17 05:22:45 +0000 |
commit | d9df974d7dcdc3df1361b84a14920cc9e4487e9c (patch) | |
tree | 00b6da86a6191e8803bb3ac552a8127712498950 /tox.ini | |
parent | e8e0a2483a8cd0edbd0ec77d92d638974c72f290 (diff) | |
download | heat-d9df974d7dcdc3df1361b84a14920cc9e4487e9c.tar.gz |
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.
If we didn't setup this variable, the default action will be not
showing any python deprecation warning.
Change-Id: I78d1c68e51ee0833fd1ff0e9548c41bb9d1239a8
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} + PYTHONWARNINGS=default::DeprecationWarning OS_TEST_PATH=heat/tests TESTR_START_DIR=heat/tests usedevelop = True |