qutebrowser/tests
Ryan Roden-Corrent 28c8e5682a
Unit test CompletionItemDelegate.paint.
There were no unit tests for this whole module. It is difficult to test
due to all the private logic and Qt dependencies, but with a lot of
mocking we can at least validate some of the text handling.

This is a setup to start testing the solution to #4199.

I picked '{' and '}' as placeholders in the test data because they draw
the eye to the 'highlighted' part, and vim even highlights them with
python syntax highlighting. It could be confusing though, as they look
like format strings but are not used that way.
2018-09-15 13:34:07 -04:00
..
end2end Fix lint and test 2018-09-04 23:46:34 +02:00
helpers Use a shared web_history fixture 2018-09-06 20:08:32 +02:00
manual Update some more references to old config options 2017-07-04 16:46:02 +02:00
unit Unit test CompletionItemDelegate.paint. 2018-09-15 13:34:07 -04:00
conftest.py Turn off hypothesis deadline if on CI 2018-07-22 10:13:06 +02:00
test_conftest.py Update copyright years 2018-02-05 12:19:50 +01:00