Bug 1403012 - Fix TypeError when running python unittests via |mach test|, r=gbrown

Mach test now creates a structured logger and passes it down into all
of the various test harnesses. Except |mach python-test| doesn't use
structured logging yet, so the argument is not expected.

For now, just accept **kwargs and ignore the logger. Eventually we'll
want to get python tests to use structured logging, and we can use it
at that point.

MozReview-Commit-ID: 8LwdbgI0vqR

--HG--
extra : rebase_source : 8949f60f74c7623c6514711db022cbbd393ff7ce
This commit is contained in:
Andrew Halberstadt 2018-01-12 11:22:58 -05:00
Родитель 1df564d0ac
Коммит fb17c0fb90
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -96,7 +96,8 @@ class MachCommands(MachCommandBase):
subsuite=None,
verbose=False,
stop=False,
jobs=1):
jobs=1,
**kwargs):
self._activate_virtualenv()
def find_tests_by_path():