diff options
| author | Richard Theis <rtheis@us.ibm.com> | 2016-02-12 12:48:33 -0600 |
|---|---|---|
| committer | Richard Theis <rtheis@us.ibm.com> | 2016-02-12 12:52:40 -0600 |
| commit | ea0b8f91627f5ef4a89f23e391a5733032bccc0e (patch) | |
| tree | fba925f3d07f17834a388af7e19c024c729ff156 /functional/common | |
| parent | 91177828d8488bae761826c61aed322ce13886ec (diff) | |
| download | python-openstackclient-ea0b8f91627f5ef4a89f23e391a5733032bccc0e.tar.gz | |
Add quota functional tests
Add functional tests for "os quota" commands.
Change-Id: I0f5939bf4ce553174c9b7ce55bdb3dce0506c409
Related-Bug: #1528249
Partially-Implements: blueprint neutron-client
Diffstat (limited to 'functional/common')
| -rw-r--r-- | functional/common/test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functional/common/test.py b/functional/common/test.py index 2fc355f8..1e767af8 100644 --- a/functional/common/test.py +++ b/functional/common/test.py @@ -52,6 +52,11 @@ class TestCase(testtools.TestCase): return execute('openstack ' + cmd, fail_ok=fail_ok) @classmethod + def get_openstack_configuration_value(cls, configuration): + opts = cls.get_show_opts([configuration]) + return cls.openstack('configuration show ' + opts) + + @classmethod def get_show_opts(cls, fields=[]): return ' -f value ' + ' '.join(['-c ' + it for it in fields]) |
