def test_conda_deps_git(): repo = CondaGitRepo(channels=['bioconda']) root = RootDependency() dep = DependencyMaker.from_requirement(source=root, req='anvio')[0] releases = repo.get_releases(dep=dep) deps = {dep.name for dep in releases[0].dependencies} assert 'prodigal' in deps
def test_conda_get_releases_git(): repo = CondaGitRepo(channels=['conda-forge']) root = RootDependency() dep = DependencyMaker.from_requirement(source=root, req='textdistance')[0] releases = repo.get_releases(dep=dep) versions = {str(release.version) for release in releases} assert not {'3.0.3', '3.1.0', '4.0.0', '4.1.0'} - versions