summaryrefslogtreecommitdiff
path: root/functional/common
diff options
context:
space:
mode:
Diffstat (limited to 'functional/common')
-rw-r--r--functional/common/test.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/functional/common/test.py b/functional/common/test.py
index e882dd64..fa523d7d 100644
--- a/functional/common/test.py
+++ b/functional/common/test.py
@@ -54,18 +54,14 @@ class TestCase(testtools.TestCase):
@classmethod
def get_openstack_configuration_value(cls, configuration):
- opts = cls.get_show_opts([configuration])
+ opts = cls.get_opts([configuration])
return cls.openstack('configuration show ' + opts)
@classmethod
- def get_show_opts(cls, fields=[]):
+ def get_opts(cls, fields):
return ' -f value ' + ' '.join(['-c ' + it for it in fields])
@classmethod
- def get_list_opts(cls, headers=[]):
- return ' -f csv ' + ' '.join(['-c ' + it for it in headers])
-
- @classmethod
def assertOutput(cls, expected, actual):
if expected != actual:
raise Exception(expected + ' != ' + actual)