Fix lint
This commit is contained in:
parent
a88adcca17
commit
3d1859b13e
@ -71,7 +71,7 @@ def _parse_file(test_name):
|
|||||||
', '.join(allowed_keys),
|
', '.join(allowed_keys),
|
||||||
', '.join(set(data.keys()))))
|
', '.join(set(data.keys()))))
|
||||||
|
|
||||||
if not 'target' in data:
|
if 'target' not in data:
|
||||||
raise InvalidFile(test_name, "'target' key not found")
|
raise InvalidFile(test_name, "'target' key not found")
|
||||||
|
|
||||||
qtwebengine_todo = data.get('qtwebengine_todo', None)
|
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)
|
parsed = _parse_file(test_name)
|
||||||
if parsed.qtwebengine_todo is not None and webengine:
|
if parsed.qtwebengine_todo is not None and webengine:
|
||||||
|
# pylint: disable=no-member
|
||||||
pytest.xfail("QtWebEngine TODO: {}".format(parsed.qtwebengine_todo))
|
pytest.xfail("QtWebEngine TODO: {}".format(parsed.qtwebengine_todo))
|
||||||
|
# pylint: enable=no-member
|
||||||
|
|
||||||
url_path = 'data/hints/html/{}'.format(test_name)
|
url_path = 'data/hints/html/{}'.format(test_name)
|
||||||
quteproc.open_path(url_path)
|
quteproc.open_path(url_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user