mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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 <talluri@apache.org>
This commit is contained in:
parent
95f17d61f8
commit
a95ce8138a
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user