glance/glance/tests/unit
Dan Smith f450b9cf03 Add a test to replicate the owner-required behavior of copy-image
Right now, image_import(method='copy-image') requires you to be the owner
of the image. This adds a test that validates that behavior so we can measure
the difference of the next set of changes to modify that.

Change-Id: I284271a458117b753a88b847598ca10ce4fb94fa
2020-07-01 08:41:26 -07:00
..
api Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
async_ Add a test to replicate the owner-required behavior of copy-image 2020-07-01 08:41:26 -07:00
common Exclude http store if --all-stores specified for import/copy operation 2020-06-03 23:21:19 +00: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 Check authorization before import for image 2020-06-30 10:24: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_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 Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00: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 Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00: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