From c0134d66fb23238aaa1d259a4cd85f8db7eb2756 Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Tue, 28 Oct 2014 11:40:41 +0000 Subject: [PATCH] Host test plugins: run() function will just print result from test() function directly, not check boolean state from test --- workspace_tools/host_tests/host_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace_tools/host_tests/host_test.py b/workspace_tools/host_tests/host_test.py index 9055ee550a..b4700ecec5 100644 --- a/workspace_tools/host_tests/host_test.py +++ b/workspace_tools/host_tests/host_test.py @@ -251,7 +251,7 @@ class Test(TestResults): # Run test try: result = self.test() - self.print_result(self.RESULT_SUCCESS if result else self.RESULT_FAILURE) + self.print_result(result) except Exception, e: print str(e) self.print_result(self.RESULT_ERROR)