nova/nova/tests/unit/image
Jay Pipes 07ccc82af0 prevent common kwargs from glance client failure
When creating a snapshot of a server using the nova API, failure occurs
if the image contains the metadata property "version". This was due to
the way that the GlanceClientWrapper.call() function signature was
structured.

This patch forces all client positional args to be passed as a named
"args" argument to the call() function and all client named args to be
pass as a named "kwargs" argument to the call() function. This
eliminates any argument name-shadowing that previously caused issues.

Closes-bug: #1717547
Change-Id: I3ed3303309fe2a25c0043fd206f36bada4b3b8f9
(cherry picked from commit 5c21a00e89)
2019-04-05 13:31:21 +09:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
abs.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py Fix signature of _FakeImageService.download 2018-07-26 14:17:48 +01:00
rel.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_fake.py Fix invalid import order 2016-07-04 16:03:42 +05:30
test_glance.py prevent common kwargs from glance client failure 2019-04-05 13:31:21 +09:00