Commit 28182c79 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Minor cosmetic changes in test runner.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1470 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b5b72ac8
......@@ -104,6 +104,7 @@ class NeoTestRunner(unittest.TestResult):
print "Base directory : %s" % (self.temp_directory, )
def run(self, name, modules):
print '\n', name
suite = unittest.TestSuite()
loader = unittest.defaultTestLoader
for test_module in modules:
......@@ -142,7 +143,7 @@ class NeoTestRunner(unittest.TestResult):
stats.time += time.time() - self.lastStart
def startTest(self, test):
print test.__class__.__module__, test._TestCase__testMethodName
print ' *', test.__class__.__module__, test._TestCase__testMethodName
unittest.TestResult.startTest(self, test)
module = test.__class__.__name__
method = test._TestCase__testMethodName
......
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