Fix two small mistakes after SQL code review.
urlmodel is now sorted, so the test had to be adjusted. Also remove one unused import.
This commit is contained in:
parent
c4c5723a61
commit
99c9b2d396
@ -297,7 +297,7 @@ def test_url_completion(qtmodeltester, config_stub, web_history, quickmarks,
|
|||||||
('http://qutebrowser.org', 'qutebrowser | qutebrowser', None),
|
('http://qutebrowser.org', 'qutebrowser | qutebrowser', None),
|
||||||
],
|
],
|
||||||
"History": [
|
"History": [
|
||||||
('http://qutebrowser.org', 'qutebrowser', '2015-09-05'),
|
('https://github.com', 'https://github.com', '2016-05-01'),
|
||||||
('https://python.org', 'Welcome to Python.org', '2016-03-08'),
|
('https://python.org', 'Welcome to Python.org', '2016-03-08'),
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
"""Tests for the base sql completion model."""
|
"""Tests for the base sql completion model."""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from PyQt5.QtCore import Qt
|
|
||||||
|
|
||||||
from qutebrowser.misc import sql
|
from qutebrowser.misc import sql
|
||||||
from qutebrowser.completion.models import sqlmodel
|
from qutebrowser.completion.models import sqlmodel
|
||||||
|
Loading…
Reference in New Issue
Block a user