class_docstr: Test class for KomandOutput
docstr: KomandOutput - Dispatch Failure, Bad Descriptor
docstr_tok: ["KomandOutput","-","Dispatch","Failure",",","Bad","Descriptor"]
code: def test_dispatch_bad_descriptor(self, log_error_mock):
      """KomandOutput - Dispatch Failure, Bad Descriptor"""
      assert_false(
          self._dispatcher.dispatch(
              get_alert(), ":".join([self.SERVICE, "bad_descriptor"])
          )
      )
  
      log_error_mock.assert_called_with(
          "Failed to send alert to %s:%s",
          self.SERVICE,
          "bad_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 4 for calling the TestKomandutput obj's underlying member method code with example usage: obj.test_dispatch_bad_descriptor(log_error_mock) without return types