Revert "Use SQL completer for quickmarks/bookmarks."

This reverts commit bcf1520132df84552f69419f3b1cbf3ede20ccad.
This commit is contained in:
Ryan Roden-Corrent 2017-02-28 08:44:17 -05:00
parent 80619c88b3
commit 1d54688b0b

View File

@ -238,6 +238,7 @@ def test_help_completion(qtmodeltester, monkeypatch, stubs, key_config_stub):
})
@pytest.mark.skip
def test_quickmark_completion(qtmodeltester, quickmarks):
"""Test the results of quickmark completion."""
model = miscmodels.quickmark()
@ -246,13 +247,14 @@ def test_quickmark_completion(qtmodeltester, quickmarks):
_check_completions(model, {
"Quickmarks": [
('aw', 'https://wiki.archlinux.org', None),
('ddg', 'https://duckduckgo.com', None),
('wiki', 'https://wikipedia.org', None),
('aw', 'https://wiki.archlinux.org', ''),
('ddg', 'https://duckduckgo.com', ''),
('wiki', 'https://wikipedia.org', ''),
]
})
@pytest.mark.skip
def test_bookmark_completion(qtmodeltester, bookmarks):
"""Test the results of bookmark completion."""
model = miscmodels.bookmark()
@ -261,9 +263,9 @@ def test_bookmark_completion(qtmodeltester, bookmarks):
_check_completions(model, {
"Bookmarks": [
('https://github.com', 'GitHub', None),
('https://python.org', 'Welcome to Python.org', None),
('http://qutebrowser.org', 'qutebrowser | qutebrowser', None),
('https://github.com', 'GitHub', ''),
('https://python.org', 'Welcome to Python.org', ''),
('http://qutebrowser.org', 'qutebrowser | qutebrowser', ''),
]
})