def test_url_req_case_mismatch_no_index(script, data):
 Upper = os.path.join(data.find_links, 'Upper-1.0.tar.gz')
 result = script.pip('install', '--no-index', '-f', data.find_links, Upper, 'requiresupper')
 egg_folder = ((script.site_packages / 'Upper-1.0-py%s.egg-info') % pyversion)
 assert (egg_folder in result.files_created), str(result)
 egg_folder = ((script.site_packages / 'Upper-2.0-py%s.egg-info') % pyversion)
 assert (egg_folder not in result.files_created), str(result)

def test_url_req_case_mismatch_no_index ( script , data ) : Upper = os . path . join ( data . find_links , 'Upper-1.0.tar.gz' ) result = script . pip ( 'install' , '--no-index' , '-f' , data . find_links , Upper , 'requiresupper' ) egg_folder = ( ( script . site_packages / 'Upper-1.0-py%s.egg-info' ) % pyversion ) assert ( egg_folder in result . files_created ) , str ( result ) egg_folder = ( ( script . site_packages / 'Upper-2.0-py%s.egg-info' ) % pyversion ) assert ( egg_folder not in result . files_created ) , str ( result )
tar ball url requirements .