diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2009-01-30 10:15:05 +0100 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2009-01-30 10:15:05 +0100 |
commit | ce9f8f14a4dbff0904ec64c670f75b0b9d6e03c5 (patch) | |
tree | 0792c9bb48b37c0314d23a700418e86301f8310c /testlib.py | |
parent | 850f59e72d0cd53c49229a9e7ad9e4b87a3d7faa (diff) | |
download | logilab-common-ce9f8f14a4dbff0904ec64c670f75b0b9d6e03c5.tar.gz |
[testlib] teardown_module() is now given the TestResult for possible postprocessing
Diffstat (limited to 'testlib.py')
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -896,7 +896,7 @@ succeeded tests into", osp.join(os.getcwd(),FILE_RESTART) result = self.testRunner.run(self.test) if hasattr(self.module, 'teardown_module'): try: - self.module.teardown_module(self.options) + self.module.teardown_module(self.options, result) except Exception, exc: print 'teardown_module error:', exc sys.exit(1) |