code: def test_delete_record(sagemaker_session_mock):
      feature_group = FeatureGroup(
          name="MyFeatureGroup",
          sagemaker_session=sagemaker_session_mock,
      )
      record_identifier_value_as_string = "1.0"
      event_time = "2022-09-14"
      feature_group.delete_record(
          record_identifier_value_as_string=record_identifier_value_as_string,
          event_time=event_time,
      )
      sagemaker_session_mock.delete_record.assert_called_with(
          feature_group_name="MyFeatureGroup",
          record_identifier_value_as_string=record_identifier_value_as_string,
          event_time=event_time,
          deletion_mode=DeletionModeEnum.SOFT_DELETE.value,
      )
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 23 for calling a global function with example usage: test_delete_record(sagemaker_session_mock) without return types