qutebrowser/tests
Ryan Roden-Corrent 47447c047a Ensure completions are sorted after filtering.
I previously removed the sorting logic from SortFilter thinking it was
unnecessary if we construct the model with a sorted list. However, this
only worked when no pattern was set, and the items are misordered as
soon as a pattern is input.

This patch reintroduces alpha-sorting, which can be disabled by passing
sort=False to the ListCategory constructor. The session completion test
had to be tweaked as it simulated the incorrect assumption that the
session list is not alpha-ordered; sessions come out of the
session-manager pre-sorted so we may as well use alpha-sorting in the
session completion model.

Resolves #3156.
2017-11-02 22:10:00 -04:00
..
end2end Re-add scroll filtering and disable it for mark/scroll tests 2017-10-20 07:38:51 +02:00
helpers Merge remote-tracking branch 'origin/pr/3054' 2017-10-17 09:10:45 +02:00
manual Update some more references to old config options 2017-07-04 16:46:02 +02:00
unit Ensure completions are sorted after filtering. 2017-11-02 22:10:00 -04:00
conftest.py Fix lint 2017-10-11 13:15:15 +02:00
test_conftest.py Finally update copyrights... 2017-05-09 21:37:03 +02:00