cinder/cinder/tests/unit/volume
whoami-rajat 2d8f2dc117 Fix multiattach set to false after retype
The return value of get_by_name_or_id in the volume_types module
returns a dictionary.
During the function call to _is_multiattach, the getattr() returns
{}(default value) because a dictionary is passed instead of an object.
After importing the cinder.objects.volume_type module,
the current function call to get_by_name_or_id() returns an object
hence getattr() will return the appropriate extra_specs instead of
the default value({}).

Closes-Bug: 1790840
Change-Id: I869bc0c9b18887da1ea83f855d255557f0f3cba0
(cherry picked from commit 7f85be4186)
2019-03-05 16:18:56 +00:00
..
drivers Merge "Avoid using 'truncate' on Windows" into stable/queens 2019-03-04 23:05:01 +00:00
flows Handling type's multiattach extra specs in API task flow 2018-10-10 15:00:48 -05:00
__init__.py Fix volume retype with migration as non-admin 2017-02-15 17:31:59 -02:00
test_availability_zone.py Make service object UUID not nullable 2017-10-26 10:17:50 -06:00
test_capabilities.py Trivial fix typos 2017-05-17 10:57:40 +07:00
test_connection.py Explicit user messages 2017-06-16 14:35:24 +08:00
test_driver.py Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
test_image.py Cloning image fails results duplicate cache entry 2018-08-16 21:28:37 +00:00
test_init_host.py Handle migrating encryption key IDs in Backup table 2018-04-04 19:34:16 +00:00
test_manage_volume.py [3/11] Refactor test_volume file 2017-02-08 23:38:23 +00:00
test_replication_manager.py Fix: Incorrect replication status on clusters 2018-08-20 21:36:02 +00:00
test_rpcapi.py Use constants for cinder-volume 2017-12-29 09:05:08 +08:00
test_snapshot.py Sync snapshot's encryption_key_id with volume's value 2018-03-23 19:41:56 +00:00
test_volume.py Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
test_volume_migration.py Fix AZ not matching backend after migration 2018-03-08 11:47:56 +01:00
test_volume_retype.py Fix multiattach set to false after retype 2019-03-05 16:18:56 +00:00
test_volume_usage_audit.py [5/11] Refactor test_volume file 2017-02-08 23:38:42 +00:00