#NEWLINE# @ patch ( 'ocw_config_runner.configuration_parsing.logger' ) #NEWLINE# def test_invalid_plot_type( self , mock_logger ) : #NEWLINE# #INDENT# ret = parser . _valid_plot_config_data ( mock_logger . bad_plot_type ) #NEWLINE# self . assertFalse ( ret ) #NEWLINE# mock_logger . error . assert_called_with ( 'Invalid plot type specified.' )