Merge "Resolve PEP8"
This commit is contained in:
commit
d394bac1de
openstackclient/tests
@ -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