class_docstr: Test class for KomandOutput
docstr: KomandOutput - Dispatch Success
docstr_tok: ["KomandOutput","-","Dispatch","Success"]
code: def test_dispatch_existing_container(self, post_mock, log_mock):
      """KomandOutput - Dispatch Success"""
      post_mock.return_value.status_code = 200
  
      assert_true(self._dispatcher.dispatch(get_alert(), self.OUTPUT))
  
      log_mock.assert_called_with(
          "Successfully sent alert to %s:%s",
          self.SERVICE,
          self.DESCRIPTOR,
      )
  
file_path: streamalert/tests/unit/streamalert/alert_processor/outputs/test_komand.py
imports: from mock import patch, Mock, MagicMock
  from nose.tools import assert_false, assert_true
  from streamalert.alert_processor.outputs.komand import KomandOutput
  from tests.unit.streamalert.alert_processor.helpers import get_alert
label_desc: Use image node_id 2 for calling the TestKomandutput obj's underlying member method code with example usage: obj.test_dispatch_existing_container(post_mock, log_mock) without return types