class_docstr: TestResult contains information useful for tracking test results
class_docstr_tok: ["TestResult","contains","information","useful","for","tracking","test","results"]
code: def __init__(self, idx, test_event, verbose=False, with_rules=False):
      super().__init__(test_event)
      self._index = idx
      self._with_rules = with_rules
      self._verbose = verbose
      self._classified_result = None
      self._live_test_results = {}
      self._publication_results = {}
      self.alerts = []
  
imports: from collections import defaultdict
  import textwrap
  from streamalert.shared import rule
  from streamalert.shared.logger import get_logger
  from streamalert_cli.test.event import TestEvent
  from streamalert_cli.test.format import format_green, format_red, format_underline
label_desc: Use image node_id 1 to create a new TestResult object from inherited base classes: TestEvent with example: obj = TestResult(idx, test_event, verbose, with_rules)