def test_install_from_file_index_hash_link(script, data):
 result = script.pip('install', '-i', data.index_url(), 'simple==1.0')
 egg_info_folder = ((script.site_packages / 'simple-1.0-py%s.egg-info') % pyversion)
 assert (egg_info_folder in result.files_created), str(result)

def test_install_from_file_index_hash_link ( script , data ) : result = script . pip ( 'install' , '-i' , data . index_url ( ) , 'simple==1.0' ) egg_info_folder = ( ( script . site_packages / 'simple-1.0-py%s.egg-info' ) % pyversion ) assert ( egg_info_folder in result . files_created ) , str ( result )
test that a pkg can be installed from a file:// index using a link with a hash .