Resolve PEP8

No idea how this happened, but reviews started failing the
pep8 gate job. The failures are legitimate, see the commit.
I guess the pep8 tests became smarter and found these issues.

Change-Id: Id9a0dad644134dafd68eed37fe8f41c583d7a619
(cherry picked from commit 52ff421e3d)
(cherry picked from commit 37e2c536e4)
This commit is contained in:
Pete Zaitcev
2020-05-14 13:53:38 -05:00
committed by Lance Bragstad
parent ce825bbd27
commit c14b4d7ea0
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -1832,7 +1832,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 = {