From 62a849c2dbf21b988f6a9391ef1be7ffc7473e25 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Mon, 26 Jun 2017 12:41:48 -0400 Subject: [PATCH] Fix bugs introduced in test_models --- tests/unit/completion/test_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py index 5677eab52..77bb89ccf 100644 --- a/tests/unit/completion/test_models.py +++ b/tests/unit/completion/test_models.py @@ -137,6 +137,7 @@ def bookmarks(bookmark_manager_stub): ]) return bookmark_manager_stub + @pytest.fixture def history_completion_table(init_sql): return sql.SqlTable("CompletionHistory", ['url', 'title', 'last_atime']) @@ -593,7 +594,7 @@ def test_url_completion_benchmark(benchmark, config_stub, 'title': ['title{}'.format(i) for i in r] } - web_history_stub.insert_batch(entries) + web_history_stub.completions.insert_batch(entries) quickmark_manager_stub.marks = collections.OrderedDict([ ('title{}'.format(i), 'example.com/{}'.format(i))