docstr: StreamQuery - CommandProcessor - nonblocking_single_pass - Failed
code: def test_nonblocking_single_pass_finished_failed(self):
      """StreamQuery - CommandProcessor - nonblocking_single_pass - Failed"""
      query_pack = MagicMock(name="MockQueryPack")
      query_pack.query_execution_id = "1111-2222"
      query_pack.query_execution.is_succeeded.return_value = False
      self._manager.finished_query_packs = [query_pack]
      self._manager.num_registered_queries = 1
      self._state_manager.get.return_value = {
          "sent_to_streamalert": False
      }
  
      result = self._processor.nonblocking_single_pass()
  
      assert_true(result)
      self._kinesis.send_query_results.assert_not_called()
  
file_path: streamalert/tests/unit/streamalert/scheduled_queries/command/test_processor.py
imports: from mock import MagicMock
  from nose.tools import assert_true, assert_false
  from streamalert.scheduled_queries.command.processor import CommandProcessor
label_desc: Use image node_id 5 for calling the TestCommandProcessor obj's underlying member method code with example usage: obj.test_nonblocking_single_pass_finished_failed() without return types