#NEWLINE# def test_resolvables_from_iterable( ) : #NEWLINE# #INDENT# builder = ResolverOptionsBuilder ( ) #NEWLINE# reqs = [ 'foo' , Package . from_href ( 'foo-2.3.4.tar.gz' ) , pkg_resources . Requirement . parse ( 'foo==2.3.4' ) ] #NEWLINE# resolved_reqs = list ( resolvables_from_iterable ( reqs , builder ) ) #NEWLINE# assert ( resolved_reqs == [ ResolvableRequirement . from_string ( 'foo' , builder ) , ResolvablePackage . from_string ( 'foo-2.3.4.tar.gz' , reqs ) , ResolvableRequirement . from_string ( 'foo==2.3.4' , builder ) ] )