From a95ce8138adc8b0f51e90d6e4c5487d48be81085 Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Sun, 15 Feb 2015 23:20:59 -0800 Subject: [PATCH] CLOUDSTACK-8257: test_escalations_volume.py - Removing asserts on volumes names as they don't hold true when random characters are appended to the volume name before creation Signed-off-by: SrikanteswaraRao Talluri --- .../component/test_escalations_volumes.py | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/test/integration/component/test_escalations_volumes.py b/test/integration/component/test_escalations_volumes.py index d6501214ddc..58f5845c0c6 100644 --- a/test/integration/component/test_escalations_volumes.py +++ b/test/integration/component/test_escalations_volumes.py @@ -208,13 +208,6 @@ class TestVolumes(cloudstackTestCase): "Volume is not created" ) - self.assertEqual( - self.services["volume"]["diskname"], - volume_created.name, - "Newly created volume name and the test data\ - volume name are not matching" - ) - # Listing all the volumes again after creation of volumes list_volumes_after = Volume.list( self.userapiclient, @@ -335,12 +328,7 @@ class TestVolumes(cloudstackTestCase): volume_created, "Volume is not created" ) - self.assertEqual( - self.services["volume"]["diskname"], - volume_created.name, - "Newly created volume name and\ - the test data volume name are not matching" - ) + # Listing all the volumes for a user after creating a data volume list_volumes_after = Volume.list( self.userapiclient, @@ -1789,12 +1777,6 @@ class TestVolumes(cloudstackTestCase): ) self.assertIsNotNone(volume_uploaded, "volume uploading failed") - self.assertEquals( - self.services["configurableData"]["upload_volume"]["diskname"], - volume_uploaded.name, - "Uploaded volume name is not matching with name provided\ - while uploading") - # Listing the volumes for a user after uploading data volume list_volumes_after = Volume.list( self.userapiclient,