summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/common/test_module.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2023-05-08 11:35:45 +0100
committerStephen Finucane <sfinucan@redhat.com>2023-05-10 10:51:30 +0100
commit7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d (patch)
tree6498649965c44537669d58b2167b56612cd1490b /openstackclient/tests/functional/common/test_module.py
parent7ca43885c26d9dd7903e7015c0a31f3486730eea (diff)
downloadpython-openstackclient-7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d.tar.gz
Blacken openstack.common
Black used with the '-l 79 -S' flags. A future change will ignore this commit in git-blame history by adding a 'git-blame-ignore-revs' file. Change-Id: Ifcb3c798666d74d596b8ecb3d6d507f782de7ba5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/functional/common/test_module.py')
-rw-r--r--openstackclient/tests/functional/common/test_module.py17
1 files changed, 4 insertions, 13 deletions
diff --git a/openstackclient/tests/functional/common/test_module.py b/openstackclient/tests/functional/common/test_module.py
index 967d3b49..0cb37391 100644
--- a/openstackclient/tests/functional/common/test_module.py
+++ b/openstackclient/tests/functional/common/test_module.py
@@ -18,13 +18,9 @@ from openstackclient.tests.functional import base
class ModuleTest(base.TestCase):
"""Functional tests for openstackclient module list output."""
- CLIENTS = ['openstackclient',
- 'keystoneclient',
- 'novaclient',
- 'openstack']
+ CLIENTS = ['openstackclient', 'keystoneclient', 'novaclient', 'openstack']
- LIBS = ['osc_lib',
- 'keystoneauth1']
+ LIBS = ['osc_lib', 'keystoneauth1']
def test_module_list(self):
# Test module list
@@ -42,6 +38,7 @@ class ModuleTest(base.TestCase):
class CommandTest(base.TestCase):
"""Functional tests for openstackclient command list."""
+
GROUPS = [
'openstack.volume.v3',
'openstack.network.v2',
@@ -59,13 +56,7 @@ class CommandTest(base.TestCase):
self.assertIn(one_group, group_names)
def test_command_list_with_group(self):
- input_groups = [
- 'volume',
- 'network',
- 'image',
- 'identity',
- 'compute.v2'
- ]
+ input_groups = ['volume', 'network', 'image', 'identity', 'compute.v2']
for each_input in input_groups:
cmd_output = self.openstack(
'command list --group %s' % each_input,