Commit a525cc63 authored by Yusei Tahara's avatar Yusei Tahara

Previous fix was wrong...

parent 2cf1dbf9
...@@ -165,7 +165,7 @@ class ERP5TypeTestReLoader(ERP5TypeTestLoader): ...@@ -165,7 +165,7 @@ class ERP5TypeTestReLoader(ERP5TypeTestLoader):
# do not reload ERP5TypeTestCase because we patch it # do not reload ERP5TypeTestCase because we patch it
testModule = reload(testModule) testModule = reload(testModule)
testCaseClass = getattr(testModule, testCaseClass.__name__) testCaseClass = getattr(testModule, testCaseClass.__name__)
return ERP5TypeTestReLoader.loadTestsFromTestCase(self, testCaseClass) return ERP5TypeTestLoader.loadTestsFromTestCase(self, testCaseClass)
def runLiveTest(test_list, verbosity=1, stream=None, **kw): def runLiveTest(test_list, verbosity=1, stream=None, **kw):
from Products.ERP5Type.tests.runUnitTest import DebugTestResult from Products.ERP5Type.tests.runUnitTest import DebugTestResult
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment