def main(filename): # load the config config = WalintParser() config.read(filename) stream = config.get('walint', 'stream') # creating the app client app = build_app(config.get('walint', 'root')) # now running the tests results = run(app, config.get_tests(), config.get_controllers(), config.get_services(), config.get_singles(), config.root_options(), stream) return results