#NEWLINE# @ patch ( 'pybuilder.plugins.python.pyfix_plugin_impl.execute_tests_matching' ) #NEWLINE# def test_should_inform_how_many_tests_are_going_to_be_executed( self , mock_execute_tests_matching ) : #NEWLINE# #INDENT# test_definitions = [ Mock ( ) , Mock ( ) , Mock ( ) ] #NEWLINE# mock_logger = Mock ( Logger ) #NEWLINE# listener = TestListener ( mock_logger ) #NEWLINE# listener . before_suite ( test_definitions ) #NEWLINE# mock_logger . info . assert_called_with ( 'Running %d pyfix tests' , 3 )