#NEWLINE# @ pytest . mark . network #NEWLINE# def test_install_local_editable_with_subdirectory( script ) : #NEWLINE# #INDENT# version_pkg_path = _create_test_package_with_subdirectory ( script , 'version_subdir' ) #NEWLINE# result = script . pip ( 'install' , '-e' , ( '%s#egg=version_subpkg&subdirectory=version_subdir' % ( ( 'git+file://%s' % version_pkg_path ) , ) ) ) #NEWLINE# result . assert_installed ( 'version-subpkg' , sub_dir = 'version_subdir' )