mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge pull request #1190 from pritisarap12/CLOUDSTACK-9121-Adding-VmSnapshot-validation-in-testpath_revert_snap.py
CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.pyIn testpath_revert_snap.py, there was no code to check if VM snapshot is created or not hence adding code for snapshot validation. * pr/1190: CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py Signed-off-by: sanjeev <sanjeev@apache.org>
This commit is contained in:
commit
cd71e05b1e
@ -150,7 +150,12 @@ class TestUnableToRevertSnapshot(cloudstackTestCase):
|
||||
vm_snap = VmSnapshot.create(self.apiclient,
|
||||
vm.id)
|
||||
|
||||
volume_list_validation = validateList(vm_snap)
|
||||
self.assertEqual(
|
||||
vm_snap.state,
|
||||
"Ready",
|
||||
"Check the snapshot of vm is ready!"
|
||||
)
|
||||
|
||||
|
||||
#Step 3
|
||||
with self.assertRaises(Exception):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user