class_docstr: Test class to test ThreatStream functionalities
class_docstr_tok: ["Test","class","to","test","ThreatStream","functionalities"]
docstr: ThreatStream - Load Config
docstr_tok: ["ThreatStream","-","Load","Config"]
code: def test_load_config(self):
      """ThreatStream - Load Config"""
      arn = (
          "arn:aws:lambda:region:123456789012:function:name:development"
      )
      expected_config = {
          "account_id": "123456789012",
          "function_name": "name",
          "qualifier": "development",
          "region": "region",
          "enabled": True,
          "excluded_sub_types": [
              "bot_ip",
              "brute_ip",
              "scan_ip",
              "spam_ip",
              "tor_ip",
          ],
          "ioc_filters": ["crowdstrike", "@airbnb.com"],
          "ioc_keys": [
              "expiration_ts",
              "itype",
              "source",
              "type",
              "value",
          ],
          "ioc_types": ["domain", "ip", "md5"],
          "memory": "128",
          "timeout": "60",
      }
      assert_equal(self.threatstream._load_config(arn), expected_config)
  
imports: from datetime import datetime
  import os
  import boto3
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, raises
  from streamalert.shared.config import load_config
  from streamalert.threat_intel_downloader.exceptions import ThreatStreamCredsError, ThreatStreamLambdaInvokeError, ThreatStreamRequestsError
  from streamalert.threat_intel_downloader.main import ThreatStream
  from tests.unit.streamalert.apps.test_helpers import MockLambdaClient
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
  from tests.unit.streamalert.threat_intel_downloader.test_helpers import put_mock_params
label_desc: Use image node_id 4 for calling the TestThreatStream obj's underlying member method code with example usage: obj.test_load_config() without return types