diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 0568f4044f1af598d1ddd5b456dbb67f7413a3e1..445b25792fd8f810b7e287184cb16bec45105a2c 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -962,6 +962,14 @@ class ERP5TypeTestCase(backportUnittest.TestCase, PortalTestCase): % title) # run_unit_test depends on this string. raise + def tearDown(self): + '''Tears down the fixture. Do not override, + use the hooks instead. + ''' + # avoid backportUnittest.TestCase.tearDown inheritance and still allow + # "runUnitTest --save" to monkey-patch PortalTestCase.tearDown + return PortalTestCase.tearDown(self) + def beforeClose(self): PortalTestCase.beforeClose(self) try: