#NEWLINE# @ patch ( 'cctrl.app.parse_config_variables' ) #NEWLINE# def test_add_config_force_arg( self , parse_config_variables ) : #NEWLINE# #INDENT# app = AppController ( None , Settings ( ) ) #NEWLINE# app . api = Mock ( ) #NEWLINE# args = Mock ( ) #NEWLINE# args . name = 'app/dep' #NEWLINE# args . force_add = False #NEWLINE# args . variables = [ 'foo=bar' , '--force' ] #NEWLINE# app . addConfig ( args ) #NEWLINE# self . assertTrue ( parse_config_variables . called ) #NEWLINE# self . assertTrue ( app . api . update_addon . called )