зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1020625 - Don't call structured logging's suite_start and suite_end per test suite. r=jgraham
This commit is contained in:
Родитель
4c76cc6e53
Коммит
b6d72ec019
|
@ -33,7 +33,10 @@ class StructuredTestResult(TextTestResult):
|
|||
return debug_info
|
||||
|
||||
def startTestRun(self):
|
||||
self.logger.suite_start(tests=self.test_list)
|
||||
# This would be an opportunity to call the logger's suite_start action,
|
||||
# however some users may use multiple suites, and per the structured
|
||||
# logging protocol, this action should only be called once.
|
||||
pass
|
||||
|
||||
def startTest(self, test):
|
||||
self.testsRun += 1
|
||||
|
@ -43,7 +46,10 @@ class StructuredTestResult(TextTestResult):
|
|||
pass
|
||||
|
||||
def stopTestRun(self):
|
||||
self.logger.suite_end()
|
||||
# This would be an opportunity to call the logger's suite_end action,
|
||||
# however some users may use multiple suites, and per the structured
|
||||
# logging protocol, this action should only be called once.
|
||||
pass
|
||||
|
||||
def addError(self, test, err):
|
||||
self.errors.append((test, self._exc_info_to_string(err, test)))
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
PACKAGE_VERSION = '0.5'
|
||||
PACKAGE_VERSION = '0.6'
|
||||
|
||||
# dependencies
|
||||
deps = ['mozinfo']
|
||||
|
|
Загрузка…
Ссылка в новой задаче