#NEWLINE# @ patch ( 'pybuilder.plugins.python.pylint_plugin.execute_tool_on_modules' ) #NEWLINE# def test_should_run_pylint_with_custom_options( self , execute_tool ) : #NEWLINE# #INDENT# project = Project ( '.' ) #NEWLINE# init_pylint ( self ) #NEWLINE# project . set_property ( 'pylint_options' , [ '--test' , '-f' , '--x=y' ] ) #NEWLINE# execute_pylint ( project , Mock ( Logger ) ) #NEWLINE# execute_tool . assert_called_with ( project , 'pylint' , [ 'pylint' , '--test' , '-f' , '--x=y' ] , True )