#NEWLINE# @ patch ( 'ocw_config_runner.configuration_parsing.logger' ) #NEWLINE# def test_no_datasets( self , mock_logger ) : #NEWLINE# #INDENT# ret = parser . _valid_minimal_config ( ret . no_datasets ) #NEWLINE# self . assertFalse ( ret ) #NEWLINE# mock_logger . error . assert_called_with ( 'No datasets specified in configuration data.' )