Exemple #1
0
def test_related_list():
    packages = get.package_list(client=client.Client())
    assert len(packages['result']) > 0
    import random
    pkg = random.choice(packages['result'])
    results = get.related_list(client=client.Client(), id=pkg)
    assert results['success'] is True
    assert isinstance(results['result'], list)
def test_related_list():
    results = get.related_list(id=909)