def test_url_req_case_mismatch_file_index(script, data):
 Dinner = os.path.join(data.find_links3, 'dinner', 'Dinner-1.0.tar.gz')
 result = script.pip('install', '--index-url', data.find_links3, Dinner, 'requiredinner')
 egg_folder = ((script.site_packages / 'Dinner-1.0-py%s.egg-info') % pyversion)
 assert (egg_folder in result.files_created), str(result)
 egg_folder = ((script.site_packages / 'Dinner-2.0-py%s.egg-info') % pyversion)
 assert (egg_folder not in result.files_created), str(result)

def test_url_req_case_mismatch_file_index ( script , data ) : Dinner = os . path . join ( data . find_links3 , 'dinner' , 'Dinner-1.0.tar.gz' ) result = script . pip ( 'install' , '--index-url' , data . find_links3 , Dinner , 'requiredinner' ) egg_folder = ( ( script . site_packages / 'Dinner-1.0-py%s.egg-info' ) % pyversion ) assert ( egg_folder in result . files_created ) , str ( result ) egg_folder = ( ( script . site_packages / 'Dinner-2.0-py%s.egg-info' ) % pyversion ) assert ( egg_folder not in result . files_created ) , str ( result )
tar ball url requirements .