class_docstr: Tests for alert_processor/main.py
class_docstr_tok: ["Tests","for","alert_processor\/main.py"]
docstr: Alert Processor - Run - Alert Does Not Exist
docstr_tok: ["Alert","Processor","-","Run","-","Alert","Does","Not","Exist"]
code: def test_run_alert_does_not_exist(self, mock_logger):
      """Alert Processor - Run - Alert Does Not Exist"""
      self.processor.alerts_table.get_alert_record = MagicMock(
          return_value=None
      )
      self.processor.run(self.alert.dynamo_key)
      mock_logger.error.assert_called_once_with(
          "%s does not exist in the alerts table", self.alert.dynamo_key
      )
  
imports: import os
  from mock import ANY, MagicMock, Mock, patch
  from nose.tools import assert_equal, assert_is_instance, assert_is_none
  from streamalert.alert_processor.main import AlertProcessor, handler
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher
  from streamalert.shared.alert import Alert
  from streamalert.shared.config import load_config
  from streamalert.shared.normalize import Normalizer
  from tests.unit.streamalert.alert_processor import ALERTS_TABLE, MOCK_ENV
label_desc: Use image node_id 15 for calling the TestAlertProcessor obj's underlying member method code with example usage: obj.test_run_alert_does_not_exist(mock_logger) without return types