deb-glance/glance/tests/unit
Alexander Bashmakov 0f0354a8b8 Add expand/migrate/contract commands to glance-manage CLI
The parent of this patch introduced the change to Alembic-based
migrations. This commit builds on top of that by adding expand,
migrate and contract commands to the glance-manage tool.
Appropriate documentation is updated and failing tests are adjusted
to accomodate the new database versioning schema.

Data migrations are expected to be run in the background with older
Glance services being active during the upgrade process.

Partially-Implements: blueprint database-strategy-for-rolling-upgrades
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
Change-Id: Ie839e0f240436dce7b151de5b464373516ff5a64
Depends-On: I77921366a05ba6f9841143af89c1f4059d8454c6
2017-02-01 23:23:11 +00:00
..
api Use more specific asserts in unit tests 2016-08-04 21:17:52 +02:00
async Adding constraints around qemu-img calls 2016-09-26 13:28:31 -05:00
common Merge "Enable python3.5 testing." 2017-01-25 20:12:39 +00:00
v1 Merge "Add image update tests for is_public" 2017-01-26 06:41:19 +00:00
v2 Merge "Implement and Enable Community Images" 2017-01-19 18:24:08 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
base.py Don't use config option sqlite_db 2016-08-16 13:42:02 +08:00
fake_rados.py Fixes rbd _delete_image snapshot with missing image 2013-10-07 23:15:49 +01:00
test_auth.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_cache_middleware.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_cached_images.py Improved coverage for glance.api.* 2014-06-15 17:44:09 +00:00
test_context.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
test_context_middleware.py Support Unicode request_id on Python 3 2015-11-27 15:44:54 +01:00
test_data_migration_framework.py Add expand/migrate/contract commands to glance-manage CLI 2017-02-01 23:23:11 +00:00
test_db.py Implement and Enable Community Images 2017-01-18 17:56:12 +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 Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
test_domain_proxy.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
test_glance_manage.py Allow purging of records less than 1 day old. 2016-12-05 21:28:24 +00:00
test_glance_replicator.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_glare_plugin_loader.py refactor glare plugin loader tests to not mock private methods of stevedore 2017-01-30 09:45:49 -05:00
test_glare_type_definition_framework.py Allow mutable argument to be passed to BinaryObject artifacts 2016-02-12 16:13:17 +03:00
test_image_cache.py Port image cache to Python 3 2015-08-16 11:49:45 +02:00
test_image_cache_client.py Do not use service catalog for cache client 2016-11-07 16:38:52 +00:00
test_jsonpatchmixin.py Fix mutable defaults in tests 2015-09-28 14:36:27 +03:00
test_manage.py Add expand/migrate/contract commands to glance-manage CLI 2017-02-01 23:23:11 +00:00
test_misc.py Port v1.test_registry_api to Python 3 2015-10-22 22:53:05 +02:00
test_notifier.py Merge "Added unit tests for disabled notifications in Notifier" 2016-11-22 04:03:23 +00:00
test_policy.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
test_quota.py Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
test_schema.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_scrubber.py Fixes the possibility of leaving orphaned data 2015-09-17 19:01:27 +00:00
test_store_glare.py Move Glance Artifact Repository API to separate endpoint 2016-02-10 18:34:55 +03:00
test_store_image.py Use cursive for signature verification 2016-08-31 12:18:10 -07:00
test_store_location.py Upgrade to hacking 0.10 2015-01-13 15:03:27 +01:00
test_versions.py Bump minor API version 2017-01-19 18:16:51 -05:00
utils.py Fix cursive named arguments 2016-09-09 13:05:16 +00:00