qutebrowser/tests
Ryan Roden-Corrent 46161c3af0 Refactor delete_cur_item.
Taking the completion widget as an argument was overly complex.
The process now looks like:

1. CompletionView gets deletion request
2. CompletionView passes selected index to CompletionModel
3. CompletionModel passes the row data to the owning category
4. The category runs its custom completion function.

This also fixes a bug. With the switch to the hybrid (list/sql)
completion model, the view was no longer updating when items were
deleted. This fixes that by ensuring the correct signals are emitted.

The SQL model must be refreshed by running the query. We could try using
a SqlTableModel so we can call removeRows instead.

The test for deleting a url fails because qmodeltester claims the length
of the query model is still 3.
2017-06-26 08:57:36 -04:00
..
end2end tests: Clean up check_history 2017-06-19 07:44:11 -04:00
helpers Refactor delete_cur_item. 2017-06-26 08:57:36 -04:00
manual Replace all GitHub links 2017-02-05 00:13:11 +01:00
unit Refactor delete_cur_item. 2017-06-26 08:57:36 -04:00
conftest.py Install PyQt from PyPI for pylint 2017-05-17 19:08:59 +02:00
test_conftest.py Finally update copyrights... 2017-05-09 21:37:03 +02:00