diff --git a/testenv/ChangeLog b/testenv/ChangeLog index 6b58f183..3f82ae88 100644 --- a/testenv/ChangeLog +++ b/testenv/ChangeLog @@ -1,3 +1,7 @@ +2013-12-26 Darshit Shah + + * WgetTest.py (HTTPTest.call_test): Correct the call to stop_HTTP_Server. + 2013-12-25 Darshit Shah * WgetTest.py (CommonMehtods.exec_wget): Catch and handle exception if the diff --git a/testenv/WgetTest.py b/testenv/WgetTest.py index 09c1d852..cec756bc 100644 --- a/testenv/WgetTest.py +++ b/testenv/WgetTest.py @@ -261,7 +261,7 @@ class HTTPTest (CommonMethods): try: assert hasattr (self, pre_hook_func) except AssertionError as ae: - self.stop_HTTP_Server (self.server) + self.stop_HTTP_Server () raise TestFailed ("Pre Test Function " + pre_hook_func + " not defined.") getattr (self, pre_hook_func) (pre_hook[pre_hook_func]) @@ -270,7 +270,7 @@ class HTTPTest (CommonMethods): try: assert hasattr (self, test_func) except AssertionError as ae: - self.stop_HTTP_Server (self.server) + self.stop_HTTP_Server () raise TestFailed ("Test Option " + test_func + " unknown.") getattr (self, test_func) (test_params[test_func])