diff options
| author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-05-14 13:53:38 -0500 |
|---|---|---|
| committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-05-14 13:53:38 -0500 |
| commit | 52ff421e3d339f81c2625bff429e6829a2d9af67 (patch) | |
| tree | 92b5525abb83e94148400884ac32ec3d2c690e80 /openstackclient/tests | |
| parent | fdefe5558b7237757d788ee000382f913772bffc (diff) | |
| download | python-openstackclient-52ff421e3d339f81c2625bff429e6829a2d9af67.tar.gz | |
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
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/functional/identity/v3/test_project.py | 1 | ||||
| -rw-r--r-- | openstackclient/tests/unit/network/v2/fakes.py | 2 |
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 = { |
