summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-12 17:17:19 +0000
committerGerrit Code Review <review@openstack.org>2018-04-12 17:17:19 +0000
commit94aa58e89e9c86eb29c482c4ca8f40a29033f3f2 (patch)
tree115330c148c4f235275d91aaf1a680144a06bf7f /tox.ini
parenta8003eced789d225a47f1cfdbd03e92fd39546f8 (diff)
parent32b83078194f40e0d3445d95cf04ce97091fd229 (diff)
downloadpython-glanceclient-94aa58e89e9c86eb29c482c4ca8f40a29033f3f2.tar.gz
Merge "Split glanceclient functional tests"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 14 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index dd82c7c..98cfae3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,7 +30,20 @@ warnerror = True
# See glanceclient/tests/functional/README.rst
# for information on running the functional tests.
setenv =
- OS_TEST_PATH = ./glanceclient/tests/functional
+ OS_TEST_PATH = ./glanceclient/tests/functional/v2
+ OS_TESTENV_NAME = {envname}
+whitelist_externals =
+ bash
+commands =
+ bash tools/fix_ca_bundle.sh
+ python setup.py testr --testr-args='{posargs}'
+
+[testenv:functional-v1]
+# TODO(rosmaita): remove this testenv at the beginning
+# of the 'S' cycle
+setenv =
+ OS_TEST_PATH = ./glanceclient/tests/functional/v1
+ OS_TESTENV_NAME = {envname}
whitelist_externals =
bash
commands =