def feeder_run(o): if o['list']: if o['fake']: list_fake_types() elif o['transports']: list_transports() elif o['formatters']: list_formatters() elif o['feed']: generator(config=o.get('--config'), transport=o.get('--transport'), formatter=o.get('--format'), gap=o.get('--gap'), messages=o.get('--messages'), batch=o.get('--batch'), verbose=o.get('--verbose'))
def test_list_transports(self): fd.list_transports()