qutebrowser/tests/unit/completion
Ryan Roden-Corrent c290b3f80f Don't attempt completion if input starts with flag.
Always interpret the first word in the command string as the command to
offer completions for, even if that word looks like a flag.

Fixes #3460, where the command string `:-w open` would attempt to offer
completions for `open` but crash because the parsing was thrown off.
By moving the flag-stripping logic to _after_ we determine the command,
`:-w open` interprets `:-w` as the command. Since that is not a valid
command, we won't offer any completions.
2018-01-04 12:34:06 -05:00
..
test_completer.py Don't attempt completion if input starts with flag. 2018-01-04 12:34:06 -05:00
test_completionmodel.py pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
test_completionwidget.py pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
test_histcategory.py Fix histcategory query reuse logic. 2017-12-13 08:39:34 -05:00
test_listcategory.py Ensure completions are sorted after filtering. 2017-11-02 22:10:00 -04:00
test_models.py pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00