From f3408710ba45808c44b39296ad6ec0521e124a0c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 27 Sep 2018 23:09:44 +0200 Subject: [PATCH] Fix webkitelem tests --- tests/unit/browser/webkit/test_webkitelem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/browser/webkit/test_webkitelem.py b/tests/unit/browser/webkit/test_webkitelem.py index df3de6310..971900e94 100644 --- a/tests/unit/browser/webkit/test_webkitelem.py +++ b/tests/unit/browser/webkit/test_webkitelem.py @@ -409,8 +409,8 @@ class TestWebKitElement: assert elem.value() == 'js' @pytest.mark.parametrize('editable, value, uses_js, arg', [ - ('false', 'foo', True, "this.value='foo'"), - ('false', "foo'bar", True, r"this.value='foo\'bar'"), + ('false', 'foo', True, 'this.value="foo"'), + ('false', "foo'bar", True, r'this.value="foo\'bar"'), ('true', 'foo', False, 'foo'), ]) def test_set_value(self, editable, value, uses_js, arg):