code: def test_invalid_feature_group_schema(base_config_with_schema):
      s3_storage_config = {"KmsKeyId": "somekmskeyid"}
      security_storage_config = {"KmsKeyId": "someotherkmskeyid"}
      # Online store doesn't have S3StorageConfig and similarly
      # Offline store doesn't have SecurityConfig
      online_store_config = {"S3StorageConfig": security_storage_config}
      offline_store_config = {"SecurityConfig": s3_storage_config}
      feature_group_config = {
          "OnlineStoreConfig": online_store_config,
          "OfflineStoreConfig": offline_store_config,
      }
      config = base_config_with_schema
      config["SageMaker"] = {"FeatureGroup": feature_group_config}
      with pytest.raises(exceptions.ValidationError):
          validate(config, SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA)
  
imports: from __future__ import absolute_import
  from jsonschema import validate, exceptions
  import pytest
  from sagemaker.config.config_schema import SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA, SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA
label_desc: Use image node_id 24 for calling a global function with example usage: test_invalid_feature_group_schema(base_config_with_schema) without return types