summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>2020-05-14 13:53:38 -0500
committerAndreas Jaeger <aj@suse.com>2020-06-03 13:26:08 +0200
commita9e1a7981b0ad9e85151ac6282007cf81d41fe87 (patch)
tree02996db130a09337aa90096824dc126e2082d1c9 /openstackclient
parentc5719a12b5b84b2efd989030f17c0eacc9faf7ad (diff)
downloadpython-openstackclient-a9e1a7981b0ad9e85151ac6282007cf81d41fe87.tar.gz
Fix ussuri jobs
Squashed two changes together since both are needed to fix jobs: 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. (cherry picked from commit 52ff421e3d339f81c2625bff429e6829a2d9af67) Add libc6-dev to bindep The python-builder base image was updated to no longer install recommends. This is inline with the other Infra images and keeps image sizes smaller. gcc recommended libc6-dev - but it turns out we need that for limits.h for one of our depends. Add it to fix our image builds. (cherry picked from commit 97d027caecdb977779ff130bb9ee2b3204c5646c) Change-Id: Id9a0dad644134dafd68eed37fe8f41c583d7a619
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 a553f501..6c16a8d5 100644
--- a/openstackclient/tests/unit/network/v2/fakes.py
+++ b/openstackclient/tests/unit/network/v2/fakes.py
@@ -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 = {