cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject [1/2] git commit: updated refs/heads/master to cd71e05
Date Wed, 10 Feb 2016 05:29:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master f61f23c7f -> cd71e05b1


CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py


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

Branch: refs/heads/master
Commit: 1cf44dee3a94dcac765aff9b2827e20cd05f971f
Parents: 3ded3e9
Author: Priti Sarap <priti.sarap@clogeny.com>
Authored: Tue Dec 8 16:29:13 2015 +0530
Committer: Priti Sarap <priti.sarap@clogeny.com>
Committed: Tue Dec 8 16:29:13 2015 +0530

----------------------------------------------------------------------
 test/integration/testpaths/testpath_revert_snap.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1cf44dee/test/integration/testpaths/testpath_revert_snap.py
----------------------------------------------------------------------
diff --git a/test/integration/testpaths/testpath_revert_snap.py b/test/integration/testpaths/testpath_revert_snap.py
index 8026f34..5934400 100644
--- a/test/integration/testpaths/testpath_revert_snap.py
+++ b/test/integration/testpaths/testpath_revert_snap.py
@@ -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):


Mime
View raw message