summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/base.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-22 07:27:06 +0000
committerGerrit Code Review <review@openstack.org>2016-09-22 07:27:06 +0000
commit5dc8151b5851d8b0af0231733cd7bbc55ad1a4c8 (patch)
tree23a7c2b3920ba8c4cc5440af469d7f8e40dcb12d /openstackclient/tests/functional/base.py
parent69c4f605ecce597af3a574d2f7c27c1dbaa17989 (diff)
parent4f23a77de04bfdfafd4bf8f16b0365df7663e9e5 (diff)
downloadpython-openstackclient-5dc8151b5851d8b0af0231733cd7bbc55ad1a4c8.tar.gz
Merge "Add network segment create, delete and set support"
Diffstat (limited to 'openstackclient/tests/functional/base.py')
-rw-r--r--openstackclient/tests/functional/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py
index f7f0361e..298b2454 100644
--- a/openstackclient/tests/functional/base.py
+++ b/openstackclient/tests/functional/base.py
@@ -58,6 +58,11 @@ class TestCase(testtools.TestCase):
return cls.openstack('configuration show ' + opts)
@classmethod
+ def get_openstack_extention_names(cls):
+ opts = cls.get_opts(['Name'])
+ return cls.openstack('extension list ' + opts)
+
+ @classmethod
def get_opts(cls, fields, format='value'):
return ' -f {0} {1}'.format(format,
' '.join(['-c ' + it for it in fields]))