class_docstr: Test config loading logic with a mocked filesystem.
class_docstr_tok: ["Test","config","loading","logic","with","a","mocked","filesystem","."]
docstr: Shared - Config Loading - Schemas and Logs.json Exist
docstr_tok: ["Shared","-","Config","Loading","-","Schemas","and","Logs.json","Exist"]
code: def test_load_schemas_logs():
      """Shared - Config Loading - Schemas and Logs.json Exist"""
      # Check if data was loaded from conf/logs.json or the schemas dir if both exist
      config = load_config(conf_dir="conf")
      # Logs.json is preferred over schemas for backwards compatibility.
      assert_equal(config["logs"], {})
  
imports: import json
  from mock import Mock
  from nose.tools import assert_equal, assert_count_equal, assert_false, assert_raises, assert_true
  from pyfakefs import fake_filesystem_unittest
  from streamalert.shared.config import artifact_extractor_enabled, _validate_config, load_config, parse_lambda_arn, ConfigError
  from tests.unit.helpers.config import basic_streamalert_config
label_desc: Use image node_id 10 for calling the TestConfigLoading obj's underlying member method code with example usage: obj.test_load_schemas_logs() without return types