diff options
author | Andrey Kurilin <akurilin@mirantis.com> | 2016-01-13 14:57:24 +0200 |
---|---|---|
committer | Andrey Kurilin <akurilin@mirantis.com> | 2016-01-15 13:25:33 +0000 |
commit | 426f6afb3ce09ae1325d10930eba134e0573f78e (patch) | |
tree | 8dac8ba5fa7e1e9b50a4d4eb21cc4d67e06bfdb6 /tox.ini | |
parent | 54b625aae84ddc21b8f58975a80c4e4bd660da6b (diff) | |
download | python-novaclient-426f6afb3ce09ae1325d10930eba134e0573f78e.tar.gz |
Add functional tests launcher for py3 env
It would be nice to check not only unit test on py3 env, but functional
tests too.
Also, this patch fixes usage of xrange in functional tests.
Change-Id: I15ef204022583a40a02b3f2a48771347ddc95f3e
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -35,6 +35,13 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen [testenv:functional] +basepython = python2.7 +setenv = + OS_TEST_PATH = ./novaclient/tests/functional +commands = python setup.py testr --testr-args='--concurrency=1 {posargs}' + +[testenv:functional-py34] +basepython = python3.4 setenv = OS_TEST_PATH = ./novaclient/tests/functional commands = python setup.py testr --testr-args='--concurrency=1 {posargs}' |