def test_install_from_wheel_with_extras(script, data):
 result = script.pip('install', 'complex-dist[simple]', '--no-index', ('--find-links=' + data.find_links), expect_error=False)
 dist_info_folder = (script.site_packages / 'complex_dist-0.1.dist-info')
 assert (dist_info_folder in result.files_created), (dist_info_folder, result.files_created, result.stdout)
 dist_info_folder = (script.site_packages / 'simple.dist-0.1.dist-info')
 assert (dist_info_folder in result.files_created), (dist_info_folder, result.files_created, result.stdout)

def test_install_from_wheel_with_extras ( script , data ) : result = script . pip ( 'install' , 'complex-dist[simple]' , '--no-index' , ( '--find-links=' + data . find_links ) , expect_error = False ) dist_info_folder = ( script . site_packages / 'complex_dist-0.1.dist-info' ) assert ( dist_info_folder in result . files_created ) , ( dist_info_folder , result . files_created , result . stdout ) dist_info_folder = ( script . site_packages / 'simple.dist-0.1.dist-info' ) assert ( dist_info_folder in result . files_created ) , ( dist_info_folder , result . files_created , result . stdout )
test installing from a wheel with extras .