glance.tests.unit.api package¶
Subpackages¶
Submodules¶
glance.tests.unit.api.test_cmd module¶
glance.tests.unit.api.test_cmd_cache_manage module¶
-
class
glance.tests.unit.api.test_cmd_cache_manage.
TestGlanceCmdManage
(*args, **kwargs)[source]¶ Bases:
glance.tests.utils.BaseTestCase
-
test_list_cached_images
(*args, **keywargs)[source]¶ Verify that list_cached() method correctly processes images with all filled data and images with not filled ‘last_accessed’ field.
-
test_list_cached_images_empty
(*args, **keywargs)[source]¶ Verify that list_cached() method handles a case when no images are cached without errors.
-
test_list_queued_images
(*args, **keywargs)[source]¶ Verify that list_queued() method correctly processes images.
-
glance.tests.unit.api.test_common module¶
-
class
glance.tests.unit.api.test_common.
SimpleIterator
(file_object, chunk_size)[source]¶ Bases:
object
glance.tests.unit.api.test_property_protections module¶
-
class
glance.tests.unit.api.test_property_protections.
TestExtraPropertiesProxy
(*args, **kwargs)[source]¶
-
class
glance.tests.unit.api.test_property_protections.
TestProtectedImageFactoryProxy
(*args, **kwargs)[source]¶
-
class
glance.tests.unit.api.test_property_protections.
TestProtectedImageProxy
(*args, **kwargs)[source]¶
-
class
glance.tests.unit.api.test_property_protections.
TestProtectedImageRepoProxy
(*args, **kwargs)[source]¶