class_docstr: Normalizer tests
class_docstr_tok: ["Normalizer","tests"]
docstr: Normalizer - Load From Config
docstr_tok: ["Normalizer","-","Load","From","Config"]
code: def test_load_from_config(self):
      """Normalizer - Load From Config"""
      config = {
          "logs": {
              "cloudtrail": {
                  "schema": {},
                  "configuration": {
                      "normalization": {
                          "region": ["path", "to", "awsRegion"],
                          "sourceAccount": ["path", "to", "accountId"],
                      }
                  },
              }
          }
      }
      normalizer = Normalizer.load_from_config(config)
      expected_config = {
          "cloudtrail": {
              "region": NormalizedType(
                  "cloudtrail", "region", ["path", "to", "awsRegion"]
              ),
              "sourceAccount": NormalizedType(
                  "cloudtrail",
                  "sourceAccount",
                  ["path", "to", "accountId"],
              ),
          }
      }
      assert_equal(normalizer, Normalizer)
      assert_equal(normalizer._types_config, expected_config)
  
imports: from mock import Mock, patch
  from nose.tools import assert_equal, assert_false, assert_raises, assert_true
  from streamalert.shared.exceptions import ConfigError
  from streamalert.shared.normalize import Normalizer, NormalizedType
  from tests.unit.streamalert.shared.test_utils import MOCK_RECORD_ID
label_desc: Use image node_id 17 for calling the TestNormalizer obj's underlying member method code with example usage: obj.test_load_from_config() without return types