code: def test_load(sagemaker_session):
      client = sagemaker_session.sagemaker_client
      client.describe_trial.return_value = {
          "ExperimentName": "experiment-name-value"
      }
      trial_obj = _Trial.load(
          trial_name="name-value", sagemaker_session=sagemaker_session
      )
      assert trial_obj.trial_name == "name-value"
      assert trial_obj.experiment_name == "experiment-name-value"
      client.describe_trial.assert_called_with(TrialName="name-value")
  
imports: from __future__ import absolute_import
  import botocore
  import pytest
  import datetime
  from unittest.mock import patch
  from sagemaker import Session
  from sagemaker.experiments._api_types import TrialSummary
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
label_desc: Use image node_id 2 for calling a global function with example usage: test_load(sagemaker_session) without return types