code: def test_default_schedule_name_assignment(
      eb_helper, sagemaker_session_mock, role_arn
  ):
      pipeline = Pipeline(
          name=PIPELINE_NAME,
          parameters=[],
          steps=[],
          sagemaker_session=sagemaker_session_mock,
      )
      pipeline.create(role_arn=role_arn)
      # No name
      schedule = PipelineSchedule(at=INPUT_AT_DATETIME_UTC)
      assert not schedule.name
      # Default to pipeline name for EventBridge create_schedule call
      pipeline.put_triggers(triggers=[schedule])
      assert schedule.name == PIPELINE_NAME
      schedule = PipelineSchedule(
          name="new-name", at=INPUT_AT_DATETIME_UTC
      )
      assert schedule.name == "new-name"
  
imports: from __future__ import absolute_import
  from datetime import datetime
  import pytest
  import pytz
  from mock.mock import ANY
  from sagemaker.workflow.parameters import ParameterInteger, ParameterFloat, ParameterBoolean
  from sagemaker import Session
  from sagemaker.workflow import ParameterString
  from sagemaker.workflow._event_bridge_client_helper import EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
  from sagemaker.workflow.pipeline import Pipeline
  from mock import Mock, patch
  from sagemaker.workflow.triggers import PipelineSchedule, validate_default_parameters_for_schedules
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 8 for calling a global function with example usage: test_default_schedule_name_assignment(eb_helper, sagemaker_session_mock, role_arn) without return types