Bug 1275535: Fix Marionette harness tests r=maja_zf
authorDavid Burns <dburns@mozilla.com>
Wed, 25 May 2016 12:40:56 +0100
changeset 298920 bb91ab70a57bd2340ac1606b563c7cee5d8c3c76
parent 298919 6926b3233f9c5b40ea0310eb855f3ee7acfcb35c
child 298980 0bc5c825c58ef9474a28e82f20be5b1415de863f
push id77373
push userdburns@mozilla.com
push dateWed, 25 May 2016 13:17:50 +0000
treeherdermozilla-inbound@bb91ab70a57b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf
bugs1275535, 1274408
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1275535: Fix Marionette harness tests r=maja_zf When landing Bug 1274408, I broke the Harness tests. Updating the kwargs to match what the harness should expect. MozReview-Commit-ID: 3pGmbG5a5Zc
testing/marionette/harness/marionette/tests/harness_unit/test_marionette_runner.py
--- a/testing/marionette/harness/marionette/tests/harness_unit/test_marionette_runner.py
+++ b/testing/marionette/harness/marionette/tests/harness_unit/test_marionette_runner.py
@@ -238,17 +238,17 @@ def test_parsing_testvars(mach_parsed_kw
 @pytest.mark.parametrize("has_crashed", [True, False])
 def test_crash_is_recorded_as_error(empty_marionette_test,
                                     logger,
                                     has_crashed):
     """ Number of errors is incremented by stopTest iff has_crashed is true """
     # collect results from the empty test
     result = MarionetteTestResult(
         marionette=empty_marionette_test._marionette_weakref(),
-        b2g_pid=0, logger=logger, verbosity=None,
+        logger=logger, verbosity=None,
         stream=None, descriptions=None,
     )
     result.startTest(empty_marionette_test)
     assert len(result.errors) == 0
     assert len(result.failures) == 0
     assert result.testsRun == 1
     assert result.shouldStop == False
     result.stopTest(empty_marionette_test)