#NEWLINE# def test_handle_requirement_w_reqs( self , download_url ) : #NEWLINE# #INDENT# rd = self . makeone ( ) #NEWLINE# req = rd . req_set . requirements . values ( ) . pop ( ) #NEWLINE# download_url . return_value = ( self . get_pkginfo ( 'dp2' ) , self . dists [ 'dp2' ] ) #NEWLINE# ( pkginfo , path_to_sdist , deps ) = rd . handle_requirement ( req , self . mock_finder ) #NEWLINE# assert ( rd . name == 'dummypackage' ) #NEWLINE# assert ( path_to_sdist == self . dists [ 'dp2' ] ) #NEWLINE# assert ( deps . requirements . keys ( ) == [ 'something-else' ] ) , deps . requirements . keys ( )