mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1020625 - Don't call structured logging's suite_start and suite_end per test suite. r=jgraham
This commit is contained in:
parent
bf3556743d
commit
d434285aa7
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user