cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/4.2 to 67c96d4
Date Mon, 29 Jul 2013 14:27:57 GMT
Updated Branches:
  refs/heads/4.2 1bfe9eb0a -> 67c96d419


CLOUDSTACK-3841: Fixed test case issue. The exception raised earlier was valid behaviour,
added missing assertRaiss statement

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/4.2
Commit: 67c96d419d08f5a2702eee0aa64958e486f74703
Parents: 1bfe9eb
Author: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
Authored: Mon Jul 29 01:43:58 2013 -0400
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Mon Jul 29 19:57:10 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_security_groups.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/67c96d41/test/integration/component/test_security_groups.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_security_groups.py b/test/integration/component/test_security_groups.py
index 3c25e25..5ec3ffb 100644
--- a/test/integration/component/test_security_groups.py
+++ b/test/integration/component/test_security_groups.py
@@ -1111,7 +1111,8 @@ class TestDeleteSecurityGroup(cloudstackTestCase):
         self.debug("Deploying VM in account: %s" % self.account.name)
 
         # Deleting Security group should raise exception
-        security_group.delete(self.apiclient)
+        with self.assertRaises(Exception):
+            security_group.delete(self.apiclient)
 
         #sleep to ensure that Security group is deleted properly
         time.sleep(self.services["sleep"])


Mime
View raw message