Revise the functional env in tox.ini

This patch deletes the pyc and pyo before doing functional test.

Change-Id: I0b646bad8e5867644fcd85556c607a9068b3158c
This commit is contained in:
miaohb 2017-02-21 10:50:50 +08:00
parent f51148d284
commit e4bf5efd89

@ -72,7 +72,9 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import_exceptions = zunclient._i18n
[testenv:functional]
commands = ostestr {posargs}
commands =
find . -type f -name "*.py[c|o]" -delete
ostestr {posargs}
setenv =
{[testenv]setenv}
OS_TEST_PATH = ./zunclient/tests/functional/osc/v1