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 <tall...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a95ce813
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a95ce813
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a95ce813

Branch: refs/heads/hotfix/scp-exception
Commit: a95ce8138adc8b0f51e90d6e4c5487d48be81085
Parents: 95f17d6
Author: Gaurav Aradhye <gaurav.arad...@clogeny.com>
Authored: Sun Feb 15 23:20:59 2015 -0800
Committer: SrikanteswaraRao Talluri <tall...@apache.org>
Committed: Tue Feb 17 18:19:29 2015 +0530

----------------------------------------------------------------------
 .../component/test_escalations_volumes.py       | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a95ce813/test/integration/component/test_escalations_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_volumes.py 
b/test/integration/component/test_escalations_volumes.py
index d650121..58f5845 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,

Reply via email to