def test_find_links_relative_path(script, data):
 result = script.pip('install', 'parent==0.1', '--no-index', '--find-links', 'packages/', cwd=data.root)
 egg_info_folder = ((script.site_packages / 'parent-0.1-py%s.egg-info') % pyversion)
 initools_folder = (script.site_packages / 'parent')
 assert (egg_info_folder in result.files_created), str(result)
 assert (initools_folder in result.files_created), str(result)

def test_find_links_relative_path ( script , data ) : result = script . pip ( 'install' , 'parent==0.1' , '--no-index' , '--find-links' , 'packages/' , cwd = data . root ) egg_info_folder = ( ( script . site_packages / 'parent-0.1-py%s.egg-info' ) % pyversion ) initools_folder = ( script . site_packages / 'parent' ) assert ( egg_info_folder in result . files_created ) , str ( result ) assert ( initools_folder in result . files_created ) , str ( result )
test find-links as a relative path .