class_docstr: Test class for AppConfig
class_docstr_tok: ["Test","class","for","AppConfig"]
docstr: AppConfig - Get Parameters, ClientError
docstr_tok: ["AppConfig","-","Get","Parameters",",","ClientError"]
code: def test_get_parameters_exception(self, client_mock):
      """AppConfig - Get Parameters, ClientError"""
      with patch.object(AppConfig, "MAX_STATE_SAVE_TRIES", 1):
          client_mock.get_parameters.side_effect = ClientError(
              {"Error": {"Code": "TEST", "Message": "BadError"}},
              "GetParameters",
          )
          self._config._get_parameters(
              "{}_state".format(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 12 for calling the TestAppConfig obj's underlying member method code with example usage: obj.test_get_parameters_exception(client_mock) without return types