@pytest.mark.network
def test_no_clean_option_blocks_cleaning_after_install(script, data):
 build = (script.base_path / 'pip-build')
 script.pip('install', '--no-clean', '--no-index', '--build', build, ('--find-links=%s' % data.find_links), 'simple')
 assert exists(build)

@ pytest . mark . network def test_no_clean_option_blocks_cleaning_after_install ( script , data ) : build = ( script . base_path / 'pip-build' ) script . pip ( 'install' , '--no-clean' , '--no-index' , '--build' , build , ( '--find-links=%s' % data . find_links ) , 'simple' ) assert exists ( build )
test --no-clean option blocks cleaning after install .