@pytest.fixture(autouse=True)
def urlutils_config_stub(config_stub, monkeypatch):
 config_stub.data = {'general': {'auto-search': True}, 'searchengines': {'test': 'http://www.qutebrowser.org/?q={}', 'test-with-dash': 'http://www.example.org/?q={}', 'DEFAULT': 'http://www.example.com/?q={}'}}
 monkeypatch.setattr('qutebrowser.utils.urlutils.config', config_stub)
 return config_stub

@ pytest . fixture ( autouse = True ) def urlutils_config_stub ( config_stub , monkeypatch ) : config_stub . data = { 'general' : { 'auto-search' : True } , 'searchengines' : { 'test' : 'http://www.qutebrowser.org/?q={}' , 'test-with-dash' : 'http://www.example.org/?q={}' , 'DEFAULT' : 'http://www.example.com/?q={}' } } monkeypatch . setattr ( 'qutebrowser.utils.urlutils.config' , config_stub ) return config_stub
initialize the given config_stub .