class_docstr: Test the TestEventFile class
class_docstr_tok: ["Test","the","TestEventFile","class"]
docstr: StreamAlert CLI - TestRunner Process Test File
docstr_tok: ["StreamAlert","CLI","-","TestRunner","Process","Test","File"]
code: def test_process_test_file(self):
      """StreamAlert CLI - TestRunner Process Test File"""
      self.fs.create_file(
          self._DEFAULT_EVENT_PATH,
          contents=basic_test_file_json(
              log="unit_test_simple_log",
              source="unit_test_default_stream",  # valid source
              service="kinesis",  # valid service
          ),
      )
      self.fs.add_real_directory(self.TEST_CONFIG_PATH)
      with patch(
          "streamalert.classifier.classifier.config.load_config",
          Mock(return_value=load_config(self.TEST_CONFIG_PATH)),
      ):
          self.runner._process_test_file(self._DEFAULT_EVENT_PATH)
  
      # The CLUSTER env var should be properly deduced and set now
      assert_equal(os.environ["CLUSTER"], "test")
  
file_path: streamalert/tests/unit/streamalert_cli/test/test_handler.py
imports: from io import StringIO
  import os
  import mock
  from mock import patch, MagicMock, Mock
  from nose.tools import assert_equal, assert_raises, nottest
  from pyfakefs import fake_filesystem_unittest
  from streamalert.shared.config import load_config
  from streamalert.shared.exceptions import ConfigError
  from streamalert_cli.config import CLIConfig
  from streamalert_cli.test.handler import TestRunner
  from tests.unit.streamalert_cli.test.helpers import basic_test_file_json
label_desc: Use image node_id 4 for calling the TestTestRunner obj's underlying member method code with example usage: obj.test_process_test_file() without return types