summaryrefslogtreecommitdiff
path: root/functional/common/test.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix functional tests for Python 3.4Sirushti Murugesan2015-10-121-1/+2
| | | | | | | | * shlex.split() expects a string. Not bytes. * decode the bytestring result of subprocess's communicate() to a string. Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
* add functional tests for identity v3Guojian Shao2015-07-071-0/+20
| | | | | | | | | | | To make test cases more clearly, split test_identity.py into test_user.py, test_role, etc. Add more test cases for user, role, etc. Furthermore, to make functional tests run repeatedly without raising duplicated error, clean up resources before exiting each test case. Change-Id: I1541943ad0b8d4d8d1e72822c159fda243b3d1d7 Implements: blueprint identity-functional-tests
* Add image functional testsTerryHowe2015-06-021-1/+1
| | | | Change-Id: I30b219bc3393fcb197bda266125dcfb5c8780a3e
* Use format options for functional testsTerryHowe2015-05-171-2/+29
| | | | | | | Use the format options for functional tests so we can have more assertEquals and less assertIn. Change-Id: I34e6c76b42964f7b596ea35e6b0354a242611cb4
* Reduce parameters to base class executeTerryHowe2015-04-261-5/+4
| | | | | | | | | Simplify the parameters so we are just passing a command string to the execute command in the base class. The string is exactly the command we are going to run. This will make debugging easier and make it clearer what we are actually running. Change-Id: I0425007e1849f31d692420e38544c55b1acb86c4
* Add an API example base and functional test baseSteve Martinelli2014-11-151-0/+6
| | | | | | | | | | Add examples/common.py, which is a basic common setup that mimics OSC's configuration options and logging without the rest of the CLI. Also add the functional test tooling for examples to prevent bit rot. Co-Authored-By: Dean Troyer <dtroyer@gmail.com> Change-Id: Ie92b675eafd93482ddc9a8ce0b0588e23ed50c35
* Add functional tests to oscSteve Martinelli2014-10-011-0/+129
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