diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-06-09 17:15:34 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-06-09 17:15:34 +0200 |
commit | dbbc4b72ed51a6a0099d6686e1b7dc4e47264cc8 (patch) | |
tree | f99575f7ea5dc25d536a5810f77576457400e80d | |
parent | ab8a2f714743ce88c776facdc5b2cd622164c77b (diff) | |
download | qutebrowser-dbbc4b72ed51a6a0099d6686e1b7dc4e47264cc8.tar.gz qutebrowser-dbbc4b72ed51a6a0099d6686e1b7dc4e47264cc8.zip |
Use quteproc.set_setting in test_hints_html
-rw-r--r-- | tests/end2end/test_hints_html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end2end/test_hints_html.py b/tests/end2end/test_hints_html.py index c0d7ee8cb..a7c08ad23 100644 --- a/tests/end2end/test_hints_html.py +++ b/tests/end2end/test_hints_html.py @@ -70,7 +70,7 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation, test_name, ', '.join(set(parsed.keys())))) # setup - quteproc.send_cmd(':set ui zoom-text-only {}'.format(zoom_text_only)) + quteproc.set_setting('ui', 'zoom-text-only', str(zoom_text_only)) quteproc.set_setting('hints', 'find-implementation', find_implementation) quteproc.send_cmd(':zoom {}'.format(zoom_level)) # follow hint @@ -80,7 +80,7 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation, quteproc.wait_for_load_finished('data/' + parsed['target']) # reset quteproc.send_cmd(':zoom 100') - quteproc.send_cmd(':set ui zoom-text-only false') + quteproc.set_setting('ui', 'zoom-text-only', 'false') def test_word_hints_issue1393(quteproc, tmpdir): |