@pytest.fixture
def objects(qtbot, default_config, key_config_stub, tab_registry, host_blocker_stub):
 win_id = 0
 modeman.init(win_id, parent=None)
 tabbed_browser = tabbedbrowser.TabbedBrowser(win_id)
 qtbot.add_widget(tabbed_browser)
 objreg.register('tabbed-browser', tabbed_browser, scope='window', window=win_id)
 dispatcher = commands.CommandDispatcher(win_id, tabbed_browser)
 objreg.register('command-dispatcher', dispatcher, scope='window', window=win_id)
 (yield ObjectsRet(tabbed_browser, dispatcher))

@ pytest . fixture def objects ( qtbot , default_config , key_config_stub , tab_registry , host_blocker_stub ) : win_id = 0 modeman . init ( win_id , parent = None ) tabbed_browser = tabbedbrowser . TabbedBrowser ( win_id ) qtbot . add_widget ( tabbed_browser ) objreg . register ( 'tabbed-browser' , tabbed_browser , scope = 'window' , window = win_id ) dispatcher = commands . CommandDispatcher ( win_id , tabbed_browser ) objreg . register ( 'command-dispatcher' , dispatcher , scope = 'window' , window = win_id ) ( yield ObjectsRet ( tabbed_browser , dispatcher ) )
fixture providing a history filled with example data .