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/master to 3a31455
Date Mon, 29 Jul 2013 14:27:45 GMT
Updated Branches:
  refs/heads/master 1b398aa3f -> 3a3145507


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>
(cherry picked from commit 67c96d419d08f5a2702eee0aa64958e486f74703)


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

Branch: refs/heads/master
Commit: 3a3145507d8b68b13d4320847511aaacc25475e5
Parents: 1b398aa
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:33 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/3a314550/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