Tests: Fix retype unit test InvalidUUID warning
This test passes the wrong value in for
volume_type_id.
@@ -712,7 +712,7 @@ class VolumeRetypeActionsTest(test.TestCase):
name='old',
qos_specs_id=qos_old).id
else:
- vol_type_old = v2_fakes.fake_default_type_get()
+ vol_type_old = v2_fakes.fake_default_type_get()['id']
vol_type_new = utils.create_volume_type(admin_ctxt, self,
name='new',
@@ -742,7 +742,7 @@ class VolumeRetypeActionsTest(test.TestCase):
if enc_orig:
utils.create_encryption(admin_ctxt, vol_type_old, self)
else:
- vol_type_old = v2_fakes.fake_default_type_get()
+ vol_type_old = v2_fakes.fake_default_type_get()['id']
vol_type_new = utils.create_volume_type(admin_ctxt, self,
name='new').id
