mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py
This commit is contained in:
parent
3ded3e9000
commit
1cf44dee3a
|
|
@ -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…
Reference in New Issue