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_package_list(): results = get.package_list(client=Cl())
def test_package_list(): results = get.package_list(client=client.Client()) assert results['success'] is True assert len(results['result']) > 0 assert results['result'][0] != ''