Tests: Fix retype unit test InvalidUUID warning
This test passes the wrong value in for volume_type_id. Change-Id: I90e697a3fa2fa02634d1c82f6862a90c8c3926fe
This commit is contained in:
parent
4935f604ab
commit
a657e66e45
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user