>From b273c8aa85fdcd68c92b0908545769cac624218a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 24 Nov 2015 16:30:04 +0100 Subject: [PATCH 1/2] Fix python test suite return value * testenv/test/base_test.py: Return False on TestFailed exception --- testenv/test/base_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testenv/test/base_test.py b/testenv/test/base_test.py index c5b82be..df4bec3 100644 --- a/testenv/test/base_test.py +++ b/testenv/test/base_test.py @@ -257,6 +257,8 @@ class BaseTest: self.tests_passed = False if exc_type is TestFailed: print_red('Error: %s.' % exc_val.error) + self.__test_cleanup() + return False else: print_red('Unhandled exception caught.') print(exc_val) -- 2.6.2