cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [09/24] git commit: updated refs/heads/4.4 to e33d4a5
Date Mon, 28 Jul 2014 15:44:36 GMT
CLOUDSTACK-6627 catch exception instead of checking response

Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit afd9d4e7567007604e15761a33ce9314149f7e21)


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

Branch: refs/heads/4.4
Commit: 1b998602ece15279f04732e58d547e23c8b80e3e
Parents: 38ef939
Author: santhosh <santhosh.edukulla@gmail.com>
Authored: Mon May 12 20:57:52 2014 +1000
Committer: Daan Hoogland <daan@onecht.net>
Committed: Mon Jul 28 17:43:19 2014 +0200

----------------------------------------------------------------------
 test/integration/smoke/test_pvlan.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1b998602/test/integration/smoke/test_pvlan.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_pvlan.py b/test/integration/smoke/test_pvlan.py
index a1c146b..9178e62 100644
--- a/test/integration/smoke/test_pvlan.py
+++ b/test/integration/smoke/test_pvlan.py
@@ -81,5 +81,5 @@ class TestPVLAN(cloudstackTestCase):
         createNetworkCmd.startipv6="fc00:1234::10"
         createNetworkCmd.endipv6="fc00:1234::20"
         err = 0
-        createNetworkResponse = self.apiClient.createNetwork(createNetworkCmd)
-        self.assertEqual(createNetworkResponse, FAILED, "Creating PVLAN with IPv6 should
fail")
+        with self.assertRaises(Exception):
+            self.apiClient.createNetwork(createNetworkCmd)


Mime
View raw message