def main(): client = RestClient(parse_rule) print run_cmds(client)
def test30_should_run_cmds_raise_no_exception(client): from schema_sugar.client.parser import run_cmds with mock.patch("sys.argv", ['hello', 'datastores', 'list', "mock_arg"]): run_cmds(client)