nova/nova/tests/unit/image
Jay Pipes 5c21a00e89 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
2018-11-06 11:01:59 -05: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 Py3 fix in fake image service 2018-08-16 13:19:40 +00: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 2018-11-06 11:01:59 -05:00