Fix lint
This commit is contained in:
parent
035526848e
commit
ab8a2f7147
@ -933,8 +933,8 @@ def data(readonly=False):
|
||||
('find-implementation',
|
||||
SettingValue(typ.String(
|
||||
valid_values=typ.ValidValues(
|
||||
('javascript', "Better but slower"),
|
||||
('python', "Slightly worse but faster"),
|
||||
('javascript', "Better but slower"),
|
||||
('python', "Slightly worse but faster"),
|
||||
)), 'javascript'),
|
||||
"Which implementation to use to find elements to hint."),
|
||||
|
||||
|
@ -226,9 +226,9 @@ Feature: Using hints
|
||||
|
||||
# https://github.com/The-Compiler/qutebrowser/issues/1559
|
||||
Scenario: Filtering all hints in number mode
|
||||
When I open data/hints/number.html
|
||||
And I set hints -> mode to number
|
||||
And I run :hint all
|
||||
And I press the key "2"
|
||||
And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log
|
||||
Then no crash should happen
|
||||
When I open data/hints/number.html
|
||||
And I set hints -> mode to number
|
||||
And I run :hint all
|
||||
And I press the key "2"
|
||||
And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log
|
||||
Then no crash should happen
|
||||
|
@ -336,9 +336,10 @@ def test_get_search_url_invalid(urlutils_config_stub, url):
|
||||
(False, True, False, '23.42'), # no DNS because bogus-IP
|
||||
(False, True, False, '1337'), # no DNS because bogus-IP
|
||||
(False, True, True, 'deadbeef'),
|
||||
# no DNS because bogus-IP
|
||||
pytest.mark.xfail(qtutils.version_check('5.6.1'),
|
||||
reason='Qt behaviour changed')(
|
||||
False, True, False, '31c3'), # no DNS because bogus-IP
|
||||
False, True, False, '31c3'),
|
||||
(False, True, False, 'foo::bar'), # no DNS because of no host
|
||||
# Valid search term with autosearch
|
||||
(False, False, False, 'test foo'),
|
||||
|
Loading…
Reference in New Issue
Block a user