Host test plugins: run() function will just print result from test() function directly, not check boolean state from test

pull/719/head
Przemek Wirkus 2014-10-28 11:40:41 +00:00
parent b9cee9709e
commit c0134d66fb
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class Test(TestResults):
# Run test # Run test
try: try:
result = self.test() result = self.test()
self.print_result(self.RESULT_SUCCESS if result else self.RESULT_FAILURE) self.print_result(result)
except Exception, e: except Exception, e:
print str(e) print str(e)
self.print_result(self.RESULT_ERROR) self.print_result(self.RESULT_ERROR)