Skip to content
Permalink
Browse files
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.
  • Loading branch information
The-Compiler committed Aug 19, 2016
1 parent 388d771 commit c0c327942472a2b6f54fbd3d2e3c884f0b682960
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit c0c3279

Please sign in to comment.