summaryrefslogtreecommitdiff
path: root/python/qpid
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid')
-rw-r--r--python/qpid/testlib.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/qpid/testlib.py b/python/qpid/testlib.py
index 05641bce7e..ba2dbe9fc3 100644
--- a/python/qpid/testlib.py
+++ b/python/qpid/testlib.py
@@ -125,7 +125,7 @@ Options:
if self.use08spec():
self.tests=findmodules("tests_0-8")
else:
- self.tests=findmodules("tests")
+ self.tests=findmodules("tests_0-9")
def testSuite(self):
class IgnoringTestSuite(unittest.TestSuite):
@@ -142,16 +142,14 @@ Options:
self._parseargs(args)
runner = unittest.TextTestRunner(descriptions=False,
verbosity=self.verbose)
- try:
- result = runner.run(self.testSuite())
- except:
- print "Unhandled error in test:", sys.exc_info()
+ result = runner.run(self.testSuite())
if (self.ignore):
print "======================================="
print "NOTE: the following tests were ignored:"
for t in self.ignore: print t
print "======================================="
+
return result.wasSuccessful()
def connect(self, host=None, port=None, spec=None, user=None, password=None, tune_params=None):