You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/07/28 17:44:36 UTC

[09/24] git commit: updated refs/heads/4.4 to e33d4a5

CLOUDSTACK-6627 catch exception instead of checking response

Signed-off-by: santhosh <sa...@gmail.com>
Signed-off-by: Daan Hoogland <da...@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 <sa...@gmail.com>
Authored: Mon May 12 20:57:52 2014 +1000
Committer: Daan Hoogland <da...@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)