e6fdc05e28
Glance gives images' sizes in bytes. But virtual size of image can have different value when image created in another format (e.g. qcow2) then raw. Raise exception when trying create volume from an image bigger size then volume size. This commit uses fake value image_id from cinder/tests/unit/fake_constants.py to clean up this test module consistent with similar cleanups in the codebase. Closes-Bug: #1599147 Change-Id: Ia8f644ac59c4ee05742ec8ce5affa682e9a90a78 |
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
glance.py | ||
image_utils.py |