diff options
author | Luigi Toscano <ltoscano@redhat.com> | 2015-03-24 15:29:19 +0100 |
---|---|---|
committer | Luigi Toscano <ltoscano@redhat.com> | 2015-03-24 16:15:13 +0100 |
commit | 86dd3d41ec4ed059000c80f0631b4dae32843358 (patch) | |
tree | ebaa3e405f8bb9e1122c814ee6ead48fda6b4e02 /tox.ini | |
parent | 3fa0e0e798db785463711de617052d8bfe5cbe14 (diff) | |
download | python-saharaclient-86dd3d41ec4ed059000c80f0631b4dae32843358.tar.gz |
Copy functional tests from tempest CLI
The tests have been copied almost as they are from tempest repository,
location: tempest/cli/simple_read_only/data_processing/
master commit: 6e8e5e1f882ec339fe3838e3e52345d2e1c5f5a1.
Changes made:
- remove dependency to global CONFIG object; test_sahara_plugins_show
now dynamically gets the list of available plugins instead of relying
on the configuration;
- remove test.attr and test.idempotent_id decorators, not available
in tempest-lib (for now?)
Changes heavily adapted from the corresponding novaclient and
ceilometerclient commits.
This is part of the effort of moving CLI tests to project repositories.
Change-Id: I652183238ff3d96bf6c9945aef902fd04cdff362
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -22,6 +22,12 @@ setenv = DISCOVER_DIRECTORY=saharaclient/tests/integration/ commands = bash tools/pretty_tox.sh "{posargs}" +[testenv:functional] +setenv = + VIRTUAL_ENV={envdir} + DISCOVER_DIRECTORY=saharaclient/tests/functional/ +commands = bash tools/pretty_tox.sh "{posargs}" + [testenv:cover] commands = python setup.py test --coverage --testr-args='{posargs}' |