glance_store/glance_store/tests/unit
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
..
common Add volume multiattach handling 2021-08-12 09:20:20 -04:00
__init__.py Move glance_store tests into the main package 2015-06-12 15:15:10 +00:00
test_backend.py Use unittest.mock instead of third party mock 2020-04-18 11:52:47 -05:00
test_cinder_base.py Add exception coverage for get, get_size, delete 2022-03-22 14:32:10 +05:30
test_cinder_store.py Add exception coverage for get, get_size, delete 2022-03-22 14:32:10 +05:30
test_connection_manager.py swift: Take into account swift_store_endpoint 2021-03-01 16:10:37 +00:00
test_driver.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00
test_exceptions.py Improving GlanceStoreException 2015-10-06 15:34:34 +00:00
test_filesystem_store.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00
test_http_store.py Use unittest.mock instead of third party mock 2020-04-18 11:52:47 -05:00
test_location.py use only exceptions for uri validations 2018-06-07 14:11:02 +00:00
test_multistore_cinder.py Add exception coverage for get, get_size, delete 2022-03-22 14:32:10 +05:30
test_multistore_filesystem.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00
test_multistore_rbd.py [RBD] Clone v2: Image is unusable if deletion fails 2021-12-21 17:11:45 +00:00
test_multistore_s3.py s3: Optimize WRITE_CHUNKSIZE to minimize an overhead 2021-07-08 21:07:35 +09:00
test_multistore_vmware.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00
test_opts.py Allow any Keystone domain for cinder store 2021-06-03 11:04:52 +00:00
test_rbd_store.py [RBD] Clone v2: Image is unusable if deletion fails 2021-12-21 17:11:45 +00:00
test_s3_store.py s3: Optimize WRITE_CHUNKSIZE to minimize an overhead 2021-07-08 21:07:35 +09:00
test_store_base.py Use unittest.mock instead of third party mock 2020-04-18 11:52:47 -05:00
test_store_capabilities.py Move glance_store tests into the main package 2015-06-12 15:15:10 +00:00
test_swift_store.py Merge "Raise correct exception from "Quota full"" 2021-08-16 17:08:25 +00:00
test_swift_store_multibackend.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00
test_swift_store_utils.py Restore quotes removal for swift config in Python3 2020-01-28 18:11:03 -06:00
test_test_utils.py Bring FakeData utility over from glance 2020-08-26 07:38:55 -07:00
test_vmware_store.py Replace md5 with oslo version 2020-11-11 13:40:46 -05:00