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:
Ryan Roden-Corrent 2017-02-22 21:05:03 -05:00
parent c4c5723a61
commit 99c9b2d396
2 changed files with 1 additions and 2 deletions

View File

@ -297,7 +297,7 @@ def test_url_completion(qtmodeltester, config_stub, web_history, quickmarks,
('http://qutebrowser.org', 'qutebrowser | qutebrowser', None),
],
"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'),
],
})

View File

@ -20,7 +20,6 @@
"""Tests for the base sql completion model."""
import pytest
from PyQt5.QtCore import Qt
from qutebrowser.misc import sql
from qutebrowser.completion.models import sqlmodel