Repository: cloudstack Updated Branches: refs/heads/master 613eb1210 -> 2c0765195
CLOUDSTACK-7147: Resolving test script issue in test_ip_reservation.py Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c076519 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2c076519 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2c076519 Branch: refs/heads/master Commit: 2c0765195a4a01ee51973c48d0561261d4fb01c6 Parents: 613eb12 Author: Gaurav Aradhye <[email protected]> Authored: Tue Jul 22 04:23:10 2014 -0400 Committer: Girish Shilamkar <[email protected]> Committed: Tue Jul 22 08:00:50 2014 -0400 ---------------------------------------------------------------------- test/integration/component/test_ip_reservation.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c076519/test/integration/component/test_ip_reservation.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_ip_reservation.py b/test/integration/component/test_ip_reservation.py index ce76c1a..157b7dd 100644 --- a/test/integration/component/test_ip_reservation.py +++ b/test/integration/component/test_ip_reservation.py @@ -964,9 +964,7 @@ class TestRouterOperations(cloudstackTestCase): self.assertEqual(validateList(routers)[0], PASS, "Routers list validation failed") # Destroy Router - result = Router.destroy(self.apiclient, id=routers[0].id) - if result[0] == FAIL: - self.fail("Failed to destroy router: %s" % result[2]) + Router.destroy(self.apiclient, id=routers[0].id) #Restart Network isolated_network.restart(self.apiclient) @@ -1080,7 +1078,7 @@ class TestFailureScnarios(cloudstackTestCase): isolated_network = resultSet[1] with self.assertRaises(Exception): - response = isolated_network.update(self.apiclient, guestvmcidr="10.1.1.0/26") + isolated_network.update(self.apiclient, guestvmcidr="10.1.1.0/26") return @attr(tags=["advanced", "selfservice"])
