summaryrefslogtreecommitdiff
path: root/functional/common
diff options
context:
space:
mode:
Diffstat (limited to 'functional/common')
-rw-r--r--functional/common/test.py5
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])