summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-05-15 07:27:35 +0000
committerGerrit Code Review <review@openstack.org>2020-05-15 07:27:35 +0000
commitd394bac1debed9c9aac577220bdb6f08bfa10d60 (patch)
tree8307656d19b902f34cab02c4975ac72cda16b4ff /openstackclient
parentae6731710965bd5be6827223abf4b679266d079c (diff)
parent52ff421e3d339f81c2625bff429e6829a2d9af67 (diff)
downloadpython-openstackclient-d394bac1debed9c9aac577220bdb6f08bfa10d60.tar.gz
Merge "Resolve PEP8"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/tests/functional/identity/v3/test_project.py1
-rw-r--r--openstackclient/tests/unit/network/v2/fakes.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/openstackclient/tests/functional/identity/v3/test_project.py b/openstackclient/tests/functional/identity/v3/test_project.py
index 96d41c3a..27cf4481 100644
--- a/openstackclient/tests/functional/identity/v3/test_project.py
+++ b/openstackclient/tests/functional/identity/v3/test_project.py
@@ -79,7 +79,6 @@ class ProjectTests(common.IdentityTests):
'--disable '
'--property k0=v0 '
'%(name)s' % {'new_name': new_project_name,
- 'domain': self.domain_name,
'name': project_name})
self.assertEqual(0, len(raw_output))
# check project details
diff --git a/openstackclient/tests/unit/network/v2/fakes.py b/openstackclient/tests/unit/network/v2/fakes.py
index 2b88986a..cef0a11c 100644
--- a/openstackclient/tests/unit/network/v2/fakes.py
+++ b/openstackclient/tests/unit/network/v2/fakes.py
@@ -1833,7 +1833,7 @@ class FakeFloatingIPPortForwarding(object):
"""
attrs = attrs or {}
floatingip_id = (
- attrs.get('floatingip_id') or'floating-ip-id-' + uuid.uuid4().hex
+ attrs.get('floatingip_id') or 'floating-ip-id-' + uuid.uuid4().hex
)
# Set default attributes.
port_forwarding_attrs = {