code: def test_delete_all_with_incorrect_action_name(sagemaker_session):
      obj = experiment.Experiment(
          sagemaker_session, experiment_name="foo", description="bar"
      )
      with pytest.raises(ValueError) as err:
          obj._delete_all(action="abc")
  
      assert "Must confirm with string '--force'" in str(err)
  
imports: from __future__ import absolute_import
  import botocore.exceptions
  import pytest
  import unittest.mock
  import datetime
  from unittest.mock import patch
  from sagemaker import Session
  from sagemaker.experiments import experiment
  from sagemaker.experiments._api_types import TrialSummary
label_desc: Use image node_id 14 for calling a global function with example usage: test_delete_all_with_incorrect_action_name(sagemaker_session) without return types