code: def test_load_or_create_when_not_exist(mock_create, mock_load):
      sagemaker_session = Session()
      exp_name = "exp_name"
      experiment.Experiment._load_or_create(
          experiment_name=exp_name, sagemaker_session=sagemaker_session
      )
      mock_create.assert_called_once_with(
          experiment_name=exp_name,
          display_name=None,
          description=None,
          tags=None,
          sagemaker_session=sagemaker_session,
      )
      mock_load.assert_not_called()
  
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 8 for calling a global function with example usage: test_load_or_create_when_not_exist(mock_create, mock_load) without return types