#NEWLINE# @ patch ( 'pybuilder.plugins.python.pylint_plugin.assert_can_execute' ) #NEWLINE# def test_should_check_that_pylint_can_be_executed( self , mock_assert_can_execute ) : #NEWLINE# #INDENT# mock_logger = Mock ( Logger ) #NEWLINE# check_pylint_availability ( mock_logger ) #NEWLINE# expected_command_line = ( 'pylint' , ) #NEWLINE# mock_assert_can_execute . assert_called_with ( expected_command_line , 'pylint' , 'plugin python.pylint' )