One get_opts method can work instead of
get_list_opts and get_show_opts both.
Remove mutable default value.
Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
tempest-lib is deprecated, so replace it with tempest.lib.
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
Change-Id: I0495eba110bb7581623fbcf49dc63a27e9cb6d64
Closes-Bug: #1553047
Remove exceptions.py from functional/common.
Import exception with the same code from the tempest_lib to tests.
Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
* shlex.split() expects a string. Not bytes.
* decode the bytestring result of subprocess's communicate()
to a string.
Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
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
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 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
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