class_docstr: TestEventFile handles caching results of test events within a test file
class_docstr_tok: ["TestEventFile","handles","caching","results","of","test","events","within","a","test","file"]
code: def passed(self):
      return sum(
          1
          for result in self._results
          if not result.suppressed and result.passed
      )
  
file_path: streamalert/streamalert_cli/test/event_file.py
imports: import json
  from streamalert.shared.logger import get_logger
  from streamalert_cli.test.results import TestResult
  from streamalert_cli.test.format import format_red, format_underline
label_desc: Use image node_id 7 for calling the TestEventFile obj's underlying member method code with example usage: obj.passed() and returns: sum