glance/glance/tests/unit
Erno Kuvaja b985e44f79 Fix active image without data
Fixes image import resulting active image without any data
when the image happens to be deleted from staging before
_DeleteFromFS task is ran which is supposed to cleanup.

Change-Id: I6256a25d1907ec15fbdde560fc8eae37f3067213
Closes-Bug: #1889640
2020-08-05 06:02:21 +00:00
..
api Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
async_ Fix active image without data 2020-08-05 06:02:21 +00:00
common Make wsgi_app support graceful shutdown 2020-07-27 09:57:22 -07:00
image_cache Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
keymgr Delete secret key on image deletion 2019-09-05 03:16:39 +02:00
v2 Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
base.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
fake_rados.py Fixes rbd _delete_image snapshot with missing image 2013-10-07 23:15:49 +01:00
fixtures.py Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
test_auth.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_cache_manage.py Fix broken glance-cache-manage utility 2020-07-23 07:04:52 +00:00
test_cache_middleware.py Merge "Use unittest.mock instead of mock" 2020-07-03 18:27:53 +00:00
test_cached_images.py Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00:00
test_context.py Add context.elevated() helper for getting admin privileges 2020-07-10 08:59:53 -07:00
test_context_middleware.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
test_data_migration_framework.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_db.py Add image_set_property_atomic() helper 2020-07-16 13:15:55 +01:00
test_db_metadef.py Don't use slashes for long lines - use parentheses instead 2015-08-16 07:21:13 +00:00
test_domain.py Refactor TaskFactory and Executor to take an admin ImageRepo 2020-07-10 08:59:53 -07:00
test_domain_proxy.py Add image_set_property_atomic() helper 2020-07-16 13:15:55 +01:00
test_gateway.py Refactor TaskFactory and Executor to take an admin ImageRepo 2020-07-10 08:59:53 -07:00
test_glance_manage.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_glance_replicator.py Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
test_image_cache.py Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
test_manage.py Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
test_misc.py Port v1.test_registry_api to Python 3 2015-10-22 22:53:05 +02:00
test_notifier.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_policy.py Drop collections.abc compat handling 2020-07-09 10:49:12 -05:00
test_quota.py Use unittest.mock instead of mock 2020-06-10 11:11:13 +02:00
test_schema.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_scrubber.py Use unittest.mock instead of mock 2020-06-10 11:11:13 +02:00
test_store_image.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_store_location.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_versions.py Use application_url in API version document 2020-02-06 12:57:56 +00:00
utils.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00