qutebrowser/tests/unit
Ryan Roden-Corrent 808a645b40 Fix quick-complete highlighting quirk.
When the commandline reads ':open |', quick-completing the only offered
completion will set the commandline to ':open some_url |'. Since `open`
has `maxsplit=0`, everything after ':open' is (correctly) treated as
one argument. This means completion is opened again with 'some url '
as the pattern (note trailing whitespace), which makes the comletion
menu 'flicker' and stay open even though it was 'supposed' to quick
compelte.

This is fixed by ignoring the next completion request if we just
completed something after maxsplit (because we don't expect any more
completions after the last split).

Resolves #1519.
2016-09-12 22:19:44 -04:00
..
browser Also redirect $HOME for QtWebEngine tests 2016-09-12 19:55:31 +02:00
commands Improve cmdutils tests 2016-08-25 22:16:25 +02:00
completion Fix quick-complete highlighting quirk. 2016-09-12 22:19:44 -04:00
config Remove :prompt-yes and :prompt-no 2016-09-09 15:59:00 +02:00
javascript Make unittests work without QtWebKit 2016-09-05 18:45:50 +02:00
keyinput tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
mainwindow tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
misc Move short_tmpdir fixture to conftest.py 2016-09-09 18:46:51 +02:00
scripts Add a test to make sure check_coverage files exist 2016-09-07 11:37:21 +02:00
utils Fix lint 2016-09-09 17:56:58 +02:00
test_app.py Fix lint 2016-05-24 21:53:50 +02:00