diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-09-19 02:42:55 +0000 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-01 19:46:07 -0400 |
| commit | 742982af4bb94b73a78c06688732acf1c8127f8a (patch) | |
| tree | 0c84f0dbcb181e044c440bf7411811b014d72495 /tox.ini | |
| parent | 02320a5a2437acdc501a003cca53310a444e4b4e (diff) | |
| download | python-openstackclient-742982af4bb94b73a78c06688732acf1c8127f8a.tar.gz | |
Add functional tests to osc
Create a script that kicks off function tests that exercise
openstackclient commands against a cloud.
If no keystone/openstack process is detected, a devstack instance
is spun up and the tests are run against that.
There is also a hook added to tox.ini so that we can run these
tests easily from a gate job.
Change-Id: I3cc8b2b800de7ca74af506d2c7e8ee481fa985f0
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,10 +11,14 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --testr-args='{posargs}' +whitelist_externals = bash [testenv:pep8] commands = flake8 +[testenv:functional] +commands = bash -x {toxinidir}/functional/harpoon.sh + [testenv:venv] commands = {posargs} |
