Bug 1507283 - [wdspec] Remove invalid set timeout test "test_key_invalid". r=ato
authorHenrik Skupin <mail@hskupin.info>
Fri, 25 Jan 2019 20:06:50 +0000
changeset 515505 4be8f5920abed49744da0df35400b1ac00c5c50c
parent 515504 8c311adb2434ba9fddc61b8f80cb787392e56050
child 515506 b2261781d719058d48913a1330071a3fcfb75976
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1507283
milestone66.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 1507283 - [wdspec] Remove invalid set timeout test "test_key_invalid". r=ato Depends on D17634 Differential Revision: https://phabricator.services.mozilla.com/D17675
testing/web-platform/tests/webdriver/tests/set_timeouts/set.py
--- a/testing/web-platform/tests/webdriver/tests/set_timeouts/set.py
+++ b/testing/web-platform/tests/webdriver/tests/set_timeouts/set.py
@@ -43,21 +43,16 @@ def test_script_parameter_empty_no_chang
     original = session.timeouts._get()
 
     response = set_timeouts(session, {"implicit": 100})
     assert_success(response)
 
     assert session.timeouts._get()["script"] == original["script"]
 
 
-def test_key_invalid(session):
-    response = set_timeouts(session, {"foo": 1000})
-    assert_error(response, "invalid argument")
-
-
 @pytest.mark.parametrize("typ", ["implicit", "pageLoad", "script"])
 @pytest.mark.parametrize("value", [0, 2.0, 2**53 - 1])
 def test_positive_integer(session, typ, value):
     response = set_timeouts(session, {typ: value})
     assert_success(response)
 
     assert session.timeouts._get(typ) == value