summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndrey Kurilin <akurilin@mirantis.com>2016-01-13 14:57:24 +0200
committerAndrey Kurilin <akurilin@mirantis.com>2016-01-15 13:25:33 +0000
commit426f6afb3ce09ae1325d10930eba134e0573f78e (patch)
tree8dac8ba5fa7e1e9b50a4d4eb21cc4d67e06bfdb6 /tox.ini
parent54b625aae84ddc21b8f58975a80c4e4bd660da6b (diff)
downloadpython-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.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ba335c1d..845523a4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}'