示例#1
0
def main():
    client = RestClient(parse_rule)
    print run_cmds(client)
示例#2
0
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)