code: def test_delete(sagemaker_session):
      obj = action.Action(
          sagemaker_session, action_name="foo", source_uri="bar"
      )
      sagemaker_session.sagemaker_client.delete_action.return_value = {}
      obj.delete()
      sagemaker_session.sagemaker_client.delete_action.assert_called_with(
          ActionName="foo"
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_action.py
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  from sagemaker.lineage import action, _api_types
  from sagemaker.lineage._api_types import ActionSource
label_desc: Use image node_id 10 for calling a global function with example usage: test_delete(sagemaker_session) without return types