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
This commit is contained in:
parent
fdefe5558b
commit
52ff421e3d
@ -79,7 +79,6 @@ class ProjectTests(common.IdentityTests):
|
|||||||
'--disable '
|
'--disable '
|
||||||
'--property k0=v0 '
|
'--property k0=v0 '
|
||||||
'%(name)s' % {'new_name': new_project_name,
|
'%(name)s' % {'new_name': new_project_name,
|
||||||
'domain': self.domain_name,
|
|
||||||
'name': project_name})
|
'name': project_name})
|
||||||
self.assertEqual(0, len(raw_output))
|
self.assertEqual(0, len(raw_output))
|
||||||
# check project details
|
# check project details
|
||||||
|
@ -1833,7 +1833,7 @@ class FakeFloatingIPPortForwarding(object):
|
|||||||
"""
|
"""
|
||||||
attrs = attrs or {}
|
attrs = attrs or {}
|
||||||
floatingip_id = (
|
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.
|
# Set default attributes.
|
||||||
port_forwarding_attrs = {
|
port_forwarding_attrs = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user