class_docstr: Test class for AppConfig
class_docstr_tok: ["Test","class","for","AppConfig"]
docstr: AppConfig - Load config with a bad event
docstr_tok: ["AppConfig","-","Load","config","with","a","bad","event"]
code: def test_load_config_bad_event(self):
      """AppConfig - Load config with a bad event"""
      # Remove one of the required keys from the state
      event = get_event(self._test_app_name)
      del event["destination_function_name"]
      AppConfig.load_config(
          event, get_mock_lambda_context(self._test_app_name)
      )
  
imports: import json
  import os
  import boto3
  from botocore.exceptions import ClientError
  from mock import patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_true, assert_dict_equal, raises
  from streamalert.apps.config import AppConfig
  from streamalert.apps.exceptions import AppAuthError, AppConfigError, AppStateError
  from tests.unit.streamalert.apps.test_helpers import get_event, put_mock_params
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
label_desc: Use image node_id 2 for calling the TestAppConfig obj's underlying member method code with example usage: obj.test_load_config_bad_event() without return types