cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 329c012
Date Sun, 17 Jan 2016 12:40:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master a4d0af213 -> 329c012b7


CLOUDSTACK-9001: Modifying snapshot results validation in testpath_uuid_event testpath


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

Branch: refs/heads/master
Commit: 0e01c7f357cd6596570fd966e0f2ac65c4bbedb1
Parents: 3ded3e9
Author: Priti Sarap <priti.sarap@clogeny.com>
Authored: Wed Oct 28 11:19:36 2015 +0530
Committer: Priti Sarap <priti.sarap@clogeny.com>
Committed: Wed Oct 28 11:19:36 2015 +0530

----------------------------------------------------------------------
 test/integration/testpaths/testpath_uuid_event.py | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0e01c7f3/test/integration/testpaths/testpath_uuid_event.py
----------------------------------------------------------------------
diff --git a/test/integration/testpaths/testpath_uuid_event.py b/test/integration/testpaths/testpath_uuid_event.py
index 29ec449..71a5abc 100644
--- a/test/integration/testpaths/testpath_uuid_event.py
+++ b/test/integration/testpaths/testpath_uuid_event.py
@@ -167,9 +167,15 @@ class TestVerifyEventsTable(cloudstackTestCase):
             self.apiclient,
             root_volume.id)
 
-        self.assertNotEqual(
-            len(snapshot),
-            0,
+        snapshots_list = Snapshot.list(self.userapiclient,
+                                        id=snapshot.id)
+
+        status = validateList(snapshots_list)
+        self.assertEqual(status[0], PASS, "Snapshots List Validation Failed")
+
+        self.assertEqual(
+            snapshot.state,
+            "BackedUp",
             "Check if snapshot gets created properly"
         )
 


Mime
View raw message