Fix tox test failed because timezone is CST

When the timezone of an ironic-inspector develop environment is CST,
tox test will fail. So we should set TZ to UTC by default.

Change-Id: Icebef00efe029d793e04e1aec81132805009bde0
Closes-Bug: #1669699
This commit is contained in:
lihao 2017-03-05 03:57:40 +00:00
parent b4a7333d56
commit 5b97e40c19
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ commands =
coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test.unit
coverage report -m --fail-under 90
setenv = PYTHONDONTWRITEBYTECODE=1
TZ=UTC
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:venv]