def test_non_empty_dependencies(self): r = PackageResolver(P('r')/'g2') assert(set(['g2p1']) == r.dependencies('g2p2'))
def test_non_empty_dependencies(self): r = PackageResolver(P('r')/'g2') assert(set(['g2p1']) == r.dependencies('g2p2'))
def test_empty_dependencies(self): r = PackageResolver(P('r')/'g1') assert(set() == r.dependencies('g1p1'))
def test_empty_dependencies(self): r = PackageResolver(P('r')/'g1') assert(set() == r.dependencies('g1p1'))