def _patch_configdata(monkeypatch, stubs, symbol):
 data = collections.OrderedDict([('general', sections.KeyValue(('time', value.SettingValue(stubs.FakeConfigType('fast', 'slow'), default='slow'), 'Is an illusion.\n\nLunchtime doubly so.'), ('volume', value.SettingValue(stubs.FakeConfigType('0', '11'), default='11'), 'Goes to 11'))), ('ui', sections.KeyValue(('gesture', value.SettingValue(stubs.FakeConfigType(('on', 'off')), default='off'), 'Waggle your hands to control qutebrowser'), ('mind', value.SettingValue(stubs.FakeConfigType(('on', 'off')), default='off'), 'Enable mind-control ui (experimental)'), ('voice', value.SettingValue(stubs.FakeConfigType(('on', 'off')), default='off'), 'Whether to respond to voice commands'))), ('searchengines', sections.ValueList(stubs.FakeConfigType(), stubs.FakeConfigType(), ('DEFAULT', 'https://duckduckgo.com/?q={}')))])
 monkeypatch.setattr(symbol, data)

def _patch_configdata ( monkeypatch , stubs , symbol ) : data = collections . OrderedDict ( [ ( 'general' , sections . KeyValue ( ( 'time' , value . SettingValue ( stubs . FakeConfigType ( 'fast' , 'slow' ) , default = 'slow' ) , 'Is an illusion.\n\nLunchtime doubly so.' ) , ( 'volume' , value . SettingValue ( stubs . FakeConfigType ( '0' , '11' ) , default = '11' ) , 'Goes to 11' ) ) ) , ( 'ui' , sections . KeyValue ( ( 'gesture' , value . SettingValue ( stubs . FakeConfigType ( ( 'on' , 'off' ) ) , default = 'off' ) , 'Waggle your hands to control qutebrowser' ) , ( 'mind' , value . SettingValue ( stubs . FakeConfigType ( ( 'on' , 'off' ) ) , default = 'off' ) , 'Enable mind-control ui (experimental)' ) , ( 'voice' , value . SettingValue ( stubs . FakeConfigType ( ( 'on' , 'off' ) ) , default = 'off' ) , 'Whether to respond to voice commands' ) ) ) , ( 'searchengines' , sections . ValueList ( stubs . FakeConfigType ( ) , stubs . FakeConfigType ( ) , ( 'DEFAULT' , 'https://duckduckgo.com/?q={}' ) ) ) ] ) monkeypatch . setattr ( symbol , data )
patch the configdata module to provide fake data .