#NEWLINE# @ pytest . mark . network #NEWLINE# def test_uptodate_editables_flag( script , data ) : #NEWLINE# #INDENT# '\n    test the behavior of --editable --uptodate flag in the list command\n    ' #NEWLINE# script . pip ( 'install' , '-f' , data . find_links , '--no-index' , 'simple==1.0' ) #NEWLINE# result = script . pip ( 'install' , '-e' , 'git+https://github.com/pypa/pip-test-package.git#egg=pip-test-package' ) #NEWLINE# result = script . pip ( 'list' , '-f' , data . find_links , '--no-index' , '--editable' , '--uptodate' , expect_stderr = True ) #NEWLINE# assert ( 'simple (1.0)' not in result . stdout ) , str ( result ) #NEWLINE# assert ( os . path . join ( 'src' , 'pip-test-package' ) in result . stdout ) , str ( script )