summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/common/test_clientmanager.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/unit/common/test_clientmanager.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/unit/common/test_clientmanager.py')
-rw-r--r--openstackclient/tests/unit/common/test_clientmanager.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/openstackclient/tests/unit/common/test_clientmanager.py b/openstackclient/tests/unit/common/test_clientmanager.py
index a83b1318..165dcc12 100644
--- a/openstackclient/tests/unit/common/test_clientmanager.py
+++ b/openstackclient/tests/unit/common/test_clientmanager.py
@@ -23,7 +23,6 @@ from openstackclient.tests.unit import fakes
class TestClientManager(osc_lib_test_utils.TestClientManager):
-
def _clientmanager_class(self):
"""Allow subclasses to override the ClientManager class"""
return clientmanager.ClientManager
@@ -54,10 +53,12 @@ class TestClientManager(osc_lib_test_utils.TestClientManager):
def test_client_manager_network_endpoint_disabled(self):
auth_args = copy.deepcopy(self.default_password_auth)
- auth_args.update({
- 'user_domain_name': 'default',
- 'project_domain_name': 'default',
- })
+ auth_args.update(
+ {
+ 'user_domain_name': 'default',
+ 'project_domain_name': 'default',
+ }
+ )
# v3 fake doesn't have network endpoint
client_manager = self._make_clientmanager(
auth_args=auth_args,