From 3d1859b13e56baa30490ff3e72584da21e87cf70 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 19 Aug 2016 00:00:35 +0200 Subject: [PATCH] Fix lint --- tests/end2end/test_hints_html.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/end2end/test_hints_html.py b/tests/end2end/test_hints_html.py index 362f38371..c5b2fd6bd 100644 --- a/tests/end2end/test_hints_html.py +++ b/tests/end2end/test_hints_html.py @@ -71,7 +71,7 @@ def _parse_file(test_name): ', '.join(allowed_keys), ', '.join(set(data.keys())))) - if not 'target' in data: + if 'target' not in data: raise InvalidFile(test_name, "'target' key not found") qtwebengine_todo = data.get('qtwebengine_todo', None) @@ -93,7 +93,9 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation, parsed = _parse_file(test_name) if parsed.qtwebengine_todo is not None and webengine: + # pylint: disable=no-member pytest.xfail("QtWebEngine TODO: {}".format(parsed.qtwebengine_todo)) + # pylint: enable=no-member url_path = 'data/hints/html/{}'.format(test_name) quteproc.open_path(url_path)