class_docstr: Test the TestEventFile class
class_docstr_tok: ["Test","the","TestEventFile","class"]
docstr: StreamAlert CLI - TestEventFile Load File, Invalid JSON
docstr_tok: ["StreamAlert","CLI","-","TestEventFile","Load","File",",","Invalid","JSON"]
code: def test_load_file_invalid_json(self):
      """StreamAlert CLI - TestEventFile Load File, Invalid JSON"""
      file_path = "rules/community/unit_test/bad-file.json"
      self.fs.create_file(file_path, contents="invalid json string")
  
      event = TestEventFile(file_path)
      list(event.load_file())
  
      assert_equal(event.error, "Test event file is not valid JSON")
  
file_path: streamalert/tests/unit/streamalert_cli/test/test_event_file.py
imports: from mock import Mock
  from nose.tools import assert_equal, nottest
  from pyfakefs import fake_filesystem_unittest
  from streamalert_cli.test.event_file import TestEventFile
  from streamalert_cli.test.results import TestResult
  from tests.unit.streamalert_cli.test.helpers import basic_test_event_data, basic_test_file_json
label_desc: Use image node_id 10 for calling the TestTestEventFile obj's underlying member method code with example usage: obj.test_load_file_invalid_json() without return types