Merge "Adding additional assertions for retype test"
diff --git a/tempest/api/volume/admin/test_volume_retype.py b/tempest/api/volume/admin/test_volume_retype.py
index 423104b..1c56eb2 100644
--- a/tempest/api/volume/admin/test_volume_retype.py
+++ b/tempest/api/volume/admin/test_volume_retype.py
@@ -130,6 +130,8 @@
for key in keys_with_change:
self.assertNotEqual(volume_source[key], volume_dest[key])
+ self.assertEqual(volume_dest['volume_type'], self.dst_vol_type['name'])
+
@decorators.idempotent_id('a1a41f3f-9dad-493e-9f09-3ff197d477cd')
def test_available_volume_retype_with_migration(self):
src_vol = self.create_volume(volume_type=self.src_vol_type['name'])
@@ -168,6 +170,8 @@
for key in keys_with_change:
self.assertNotEqual(volume_source[key], volume_dest[key])
+ self.assertEqual(volume_dest['volume_type'], self.dst_vol_type['name'])
+
@decorators.idempotent_id('b90412ee-465d-46e9-b249-ec84a47d5f25')
def test_available_volume_retype(self):
src_vol = self.create_volume(volume_type=self.src_vol_type['name'])