From dbbc4b72ed51a6a0099d6686e1b7dc4e47264cc8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 9 Jun 2016 17:15:34 +0200 Subject: [PATCH] Use quteproc.set_setting in test_hints_html --- tests/end2end/test_hints_html.py | 4 ++-- 1 file 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):