python-glanceclient/tests/v2
Edward Hope-Morley 4a41358cea Add support for image size in v2 api upload
Some backend stores e.g. RBD, will fail if told to create an
image without a valid size (RBD will fail to write to a zero-size
image). Here we add support to allow the image size to be provided
when doing an upload. The result is that the upload content-length
will be set if available either from checking the supplied file
object or as provided by user.

Closes-Bug: 1220197
Change-Id: Ia1f2ea5680a139750d931591949b3e0058148b4b
2014-02-03 11:10:50 +00:00
..
__init__.py Add 'explain' command to v2 that describes schemas 2012-06-07 14:43:00 -07:00
test_client.py Handle endpoints with versions consistently 2014-01-22 11:16:58 +00:00
test_images.py Add support for image size in v2 api upload 2014-02-03 11:10:50 +00:00
test_members.py Start using Pyflakes and Hacking 2013-06-22 16:00:26 +02:00
test_schemas.py Merge "Replace OpenStack LLC with OpenStack Foundation" 2013-11-15 06:33:28 +00:00
test_shell_v2.py Add support for image size in v2 api upload 2014-02-03 11:10:50 +00:00
test_tags.py Enable client V2 to update/delete tags for a given image. 2013-07-02 21:32:49 +05:30