Ejemplo n.º 1
0
def test_organization_show():
    results = get.organization_list(client=client.Client(), order_by='',
        sort='', organizations='',
        all_fields=True)
    assert results['success'] is True
    orgs = results['result']
    if len(orgs) > 0:
        results = get.organization_show(client=client.Client(),
            id=orgs[0]['id'])
        assert results['success'] is True
        assert results['result']['display_name'] == orgs[0]['display_name']
Ejemplo n.º 2
0
def test_organization_show():
    results = get.organization_list(client=client.Client(),
                                    order_by='',
                                    sort='',
                                    organizations='',
                                    all_fields=True)
    assert results['success'] is True
    orgs = results['result']
    if len(orgs) > 0:
        results = get.organization_show(client=client.Client(),
                                        id=orgs[0]['id'])
        assert results['success'] is True
        assert results['result']['display_name'] == orgs[0]['display_name']
Ejemplo n.º 3
0
def test_organization_show():
    results = get.organization_show(id='hahaha')