From c0c327942472a2b6f54fbd3d2e3c884f0b682960 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 19 Aug 2016 11:25:59 +0200 Subject: [PATCH] Fix test_quteprocess.test_set with QtWebEngine network -> accept-language is not available for QtWebEngine, and we simply need a setting which accepts an arbitrary string. --- tests/end2end/fixtures/test_quteprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end2end/fixtures/test_quteprocess.py b/tests/end2end/fixtures/test_quteprocess.py index 6df34a21f..374421089 100644 --- a/tests/end2end/fixtures/test_quteprocess.py +++ b/tests/end2end/fixtures/test_quteprocess.py @@ -281,6 +281,6 @@ def test_xpath_escape(string, expected): 'foo"bar', # Make sure a " is preserved ]) def test_set(quteproc, value): - quteproc.set_setting('network', 'accept-language', value) - read_back = quteproc.get_setting('network', 'accept-language') + quteproc.set_setting('general', 'default-encoding', value) + read_back = quteproc.get_setting('general', 'default-encoding') assert read_back == value