cinder/cinder/tests/unit/api/contrib
Cory Stone 010d4a23b7 Fix dynamic import of CONF.volume_api_class
Modifies the import to actually happen when API() is called instead of
when the module is loaded.

This is necessary because CONF.volume_api_class is always evaluated as
the default value since the config file hadn't been parsed yet when the
module is loaded.

Nova fixed this problem a while ago for the compute driver in
https://review.openstack.org/#/c/14353/.

Change-Id: I4c3d6b4300298ad0ac4e40a7a1a815cbf88bb151
Closes-Bug: #1543219
2016-02-12 10:50:31 -06:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_admin_actions.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
test_availability_zones.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backups.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_capabilities.py Allow specified backend capabilities to be retrieved 2015-09-01 04:56:41 +00:00
test_cgsnapshots.py Don't create cgsnapshot if cg is empty 2016-02-03 14:16:30 -08:00
test_consistencygroups.py Add pagination support to consistency group 2016-01-21 09:15:21 +08:00
test_extended_snapshot_attributes.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_hosts.py Check for None on service's updated_at 2015-09-16 20:03:42 +02:00
test_qos_specs_manage.py Add pagination support to Qos specs 2015-12-23 16:26:34 +08:00
test_quotas.py Merge "Quota API is now compatible with keystone API v2" 2015-12-28 23:26:14 +00:00
test_quotas_classes.py Replace use of mox with mock in test_quotas 2015-12-15 13:51:00 +00:00
test_scheduler_hints.py Python 3: fix a lot of tests 2015-12-07 15:34:20 +01:00
test_scheduler_stats.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_services.py Check for None on service's updated_at 2015-09-16 20:03:42 +02:00
test_snapshot_actions.py Python 3: fix a lot of tests 2015-12-07 15:34:20 +01:00
test_snapshot_manage.py Python 3: fix a lot of tests 2015-12-07 15:34:20 +01:00
test_snapshot_unmanage.py Remove API races from delete methods 2015-12-23 14:33:38 +01:00
test_types_extra_specs.py Validate string, integer limit for input parameter 2015-08-10 08:51:19 +00:00
test_types_manage.py Fix updating only volume type is_public 2015-10-13 18:26:09 +00:00
test_used_limits.py Fix UsedLimitsController's authorizer to soft 2015-10-28 14:53:55 +08:00
test_volume_actions.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_volume_encryption_metadata.py Python 3: fix a lot of tests 2015-12-07 15:34:20 +01:00
test_volume_host_attribute.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_volume_image_metadata.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_volume_manage.py Python 3: fix a lot of tests 2015-12-07 15:34:20 +01:00
test_volume_migration_status_attribute.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_volume_replication.py Fix order of arguments in assertEqual 2015-09-05 15:18:22 +08:00
test_volume_tenant_attribute.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
test_volume_transfer.py Update get/delete_volume API to use versionedobjects 2015-11-12 04:54:16 -08:00
test_volume_type_access.py Add pagination support to volume type 2016-01-05 19:48:21 +08:00
test_volume_type_encryption.py Fix grammatical mistake in defining articles. 2016-01-05 01:03:02 +00:00
test_volume_unmanage.py Remove API races from delete methods 2015-12-23 14:33:38 +01:00