summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChris Dent <chdent@redhat.com>2015-03-12 14:01:11 +0000
committerChris Dent <chdent@redhat.com>2015-03-16 15:21:55 +0000
commit5d52f773090ee2d21c4b1d7d5a660be5db9bb48a (patch)
tree02cad3ce0c082971e364838a3e210e27e2bd43b3 /tox.ini
parent72eaed3e7af4cbffc722011c247dab57adb3c4cc (diff)
downloadpython-ceilometerclient-5d52f773090ee2d21c4b1d7d5a660be5db9bb48a.tar.gz
Add cli functional tests from tempest
test_readonly_ceilometer is migrated from ./tempest/cli/simple_read_only/telemetry A new 'functional' target is available in tox. In order for these tests to pass OS_PASSWORD, OS_AUTH_URL, OS_USERNAME and OS_TENANT_NAME need to be set in the environment before running the tests, e.g: source src/devstack/openrc demo demo && tox -efunctional Subsequent patches will remove tests from tempest and add thes tests to project-config for gate checks. Change-Id: I3ce5ddbe471d70e8775ec5a1cc908a95a335b5e7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 2c5a542..baca918 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,6 +24,9 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
+[testenv:functional]
+setenv = OS_TEST_PATH=./ceilometerclient/tests/functional
+
[testenv:docs]
commands=
python setup.py build_sphinx