From 7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 8 May 2023 11:35:45 +0100 Subject: 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 --- openstackclient/tests/functional/common/test_module.py | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'openstackclient/tests/functional/common/test_module.py') 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, -- cgit v1.2.1