diff options
author | Chris Dent <chdent@redhat.com> | 2015-03-12 14:01:11 +0000 |
---|---|---|
committer | Chris Dent <chdent@redhat.com> | 2015-03-16 15:21:55 +0000 |
commit | 5d52f773090ee2d21c4b1d7d5a660be5db9bb48a (patch) | |
tree | 02cad3ce0c082971e364838a3e210e27e2bd43b3 /tox.ini | |
parent | 72eaed3e7af4cbffc722011c247dab57adb3c4cc (diff) | |
download | python-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.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |