Fix lint
This commit is contained in:
parent
a88adcca17
commit
3d1859b13e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user