glance/tests
jaypipes@gmail.com 56fa9a39bf Fixes Bug#696375: x-image-meta-size is not optional, contrary to
documentation. 

The image's size is set to zero now during reservation of the image ID if the
image's size is not passed in with headers. In addition,
glance.store.Backend.add() now returns a tuple of (location, size) and
the image's size attribute in the registry is updated to this value if 
previously set to zero.

Adds a new test case that ensures the size attribute is set properly
when not included in the image meta headers.

Adds documentation for the new _reserve(), _upload(), and _activate()
methods in glance.server.Controller.
2011-01-18 12:58:23 -05:00
..
unit Fixes Bug#696375: x-image-meta-size is not optional, contrary to 2011-01-18 12:58:23 -05:00
__init__.py libify glance into teller and parallax modules. Make nosetests work by making tests and tests/unit/ into packages. 2010-09-27 18:43:04 -04:00
stubs.py Fixes Bug#696375: x-image-meta-size is not optional, contrary to 2011-01-18 12:58:23 -05:00
test_data.py More PEP8 fixes 2011-01-04 17:00:37 -05:00
utils.py Renaming is_cloudfiles_available -> is_swift_available 2010-10-15 01:03:42 -05:00