def test_get_all_page():
    client = Client(app_key, app_secret, base_url, lib=client_name)
    indexApp = IndexApp(client)
    ret = indexApp.getAll(page=1, size=50)
    print(ret)
    assert ret['status'] == 'OK'
    print(ret['result'])
def test_getAll():
    client = Client(app_key, app_secret, base_url)
    indexApp = IndexApp(client)
    ret = yield from indexApp.getAll()
    print(ret)
    client.session.close()
    assert ret['status'] == 'OK'
    print(ret['result'])