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:
parent
b4a7333d56
commit
5b97e40c19
1
tox.ini
1
tox.ini
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue