glance_store/glance_store/tests
whoami-rajat 4bd0304efb Add exception coverage for get, get_size, delete
This patch adds coverage for the various exceptions handled and
raised in get, get_size and delete methods.
It also corrects the behavior of _test_cinder_get_size method where
client.volumes returned dictionary instead of a MagicMock and it
worked due to the existing method "get" in dictionary which has
same name as "get" method in cinderclient. The dictionary object
is replaced with the appropriate MagicMock object in this patch.

Change-Id: If63a6c810b5aab992e54857bc81f5052c2c593c4
2022-03-22 14:32:10 +05:30
..
etc Restore quotes removal for swift config in Python3 2020-01-28 18:11:03 -06:00
functional Doc: Use Block Storage API v3 2021-07-25 02:22:52 +09:00
unit Add exception coverage for get, get_size, delete 2022-03-22 14:32:10 +05:30
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
base.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
fakes.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
utils.py Bring FakeData utility over from glance 2020-08-26 07:38:55 -07:00