#NEWLINE# @ pytest . mark . integration #NEWLINE# def test_additional_dependencies_roll_forward( tempdir_factory , store ) : #NEWLINE# #INDENT# path = make_repo ( tempdir_factory , 'python_hooks_repo' ) #NEWLINE# config = make_config_from_repo ( repo ) #NEWLINE# repo = Repository . create ( config , store ) #NEWLINE# repo . require_installed ( ) #NEWLINE# config [ 'hooks' ] [ 0 ] [ 'additional_dependencies' ] = [ 'mccabe' ] #NEWLINE# repo = Repository . create ( config , store ) #NEWLINE# repo . require_installed ( ) #NEWLINE# with python . in_env ( repo . cmd_runner , 'default' ) : #NEWLINE# #INDENT# output = cmd_output ( 'pip' , 'freeze' , '-l' ) [ 1 ] #NEWLINE# assert ( 'mccabe' in output )