glance/glance/tests/unit
Dan Smith 3da696e0a4 Update task message during import
This updates the task.message field with details about the copy,
which will also update the updated_at field on the task. This will
facilitate some rudimentary liveness checking from outside the task
thread. Note that it also checks the state of our task, and will
abort if it has been pushed out of 'processing' state externally.
This will be used in the following patch to faciliate import lock
busting behavior.

Change-Id: I8667c17813f6e701db98595b0b30df9e7b275294
(cherry picked from commit 77d9cfa66e)
2020-08-25 11:35:14 -07:00
..
api Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
async_ Update task message during import 2020-08-25 11:35:14 -07:00
common Heartbeat the actual work of the task 2020-08-25 11:35:05 -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 Flesh out FakeImage for extra_properties 2020-08-25 11:33: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 Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05: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 20:35:29 +00:00
test_cache_middleware.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
test_cached_images.py Improved coverage for glance.api.* 2014-06-15 17:44:09 +00:00
test_context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06: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_delete_property_atomic() helper 2020-08-25 11:34:56 -07: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 Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_domain_proxy.py Add image_delete_property_atomic() helper 2020-08-25 11:34:56 -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 Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_image_cache.py Remove registry related functional and unit tests 2019-12-18 09:23:37 +00:00
test_manage.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00: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 Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_quota.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
test_schema.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_scrubber.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00: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