def test_bookmark_completion(qtmodeltester, bookmarks):
 model = miscmodels.BookmarkCompletionModel()
 qtmodeltester.data_display_may_return_none = True
 qtmodeltester.check(model)
 _check_completions(model, {'Bookmarks': [('https://github.com', 'GitHub', ''), ('https://python.org', 'Welcome to Python.org', ''), ('http://qutebrowser.org', 'qutebrowser | qutebrowser', '')]})

def test_bookmark_completion ( qtmodeltester , bookmarks ) : model = miscmodels . BookmarkCompletionModel ( ) qtmodeltester . data_display_may_return_none = True qtmodeltester . check ( model ) _check_completions ( model , { 'Bookmarks' : [ ( 'https://github.com' , 'GitHub' , '' ) , ( 'https://python.org' , 'Welcome to Python.org' , '' ) , ( 'http://qutebrowser.org' , 'qutebrowser | qutebrowser' , '' ) ] } )
test the results of bookmark completion .