Пример #1
0
 def startTest(self, test):
     # TextTestResult's impl prints as "test (module.class)" which prevents copy/paste
     print('{0} ... '.format(test.id()), end='', file=self.stream)
     unittest.TestResult.startTest(self, test)
Пример #2
0
 def startTest(self, test):
     # TextTestResult's impl prints as "test (module.class)" which prevents copy/paste
     print('{0} ... '.format(test.id()), end='', file=self.stream)
     unittest.TestResult.startTest(self, test)