qutebrowser/tests/unit
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
..
browser Allow downloading from PDF.js 2018-09-10 13:15:39 +02:00
commands Wait until runner is finished in test_custom_env 2018-03-19 11:43:08 +01:00
completion Unit test CompletionItemDelegate.paint. 2018-09-15 13:34:07 -04:00
config Fix pylint issues with config cache 2018-09-06 16:43:10 +02:00
javascript Handle UTF-8 byte order marks in Greasemonkey scripts 2018-09-12 23:54:32 +02:00
keyinput Recognize "Command"/"Cmd" in keybindings 2018-08-28 18:57:47 +02:00
mainwindow Use config_stub.val instead of config_stub.set_obj in tests 2018-09-02 14:42:47 +02:00
misc Clean up workaround for sqlite opening errors 2018-09-12 16:06:57 +02:00
scripts Update copyright years 2018-02-05 12:19:50 +01:00
utils Add utils.guess_mimetype 2018-09-09 18:35:09 +02:00
test_app.py Update copyright years 2018-02-05 12:19:50 +01:00