code: def test_schedule_trigger_functionality(
      eb_helper, sagemaker_session_mock, role_arn
  ):
      step1 = CustomStep(name="MyStep1")
      pipeline = Pipeline(
          name=PIPELINE_NAME,
          parameters=[],
          steps=[step1],
          sagemaker_session=sagemaker_session_mock,
      )
      pipeline.create(role_arn=role_arn)
      sagemaker_session_mock.sagemaker_client.create_pipeline.assert_called_with(
          PipelineName=PIPELINE_NAME,
          PipelineDefinition=pipeline.definition(),
          RoleArn=role_arn,
      )
      # put
      schedule = PipelineSchedule(
          name=SCHEDULE_NAME, at=INPUT_AT_DATETIME_UTC
      )
      pipeline.put_triggers(triggers=[schedule])
      eb_helper().upsert_schedule.assert_called_once_with(
          schedule_name=SCHEDULE_NAME,
          pipeline_arn=PIPELINE_ARN,
          schedule_expression=EXPECTED_AT_EXPRESSION,
          state=DEFAULT_STATE,
          start_date=ANY,  # since start_time defaults to datetime.now, will not match exactly at runtime
          role=EXECUTION_ROLE_ARN,
      )
      # describe
      trigger = pipeline.describe_trigger(trigger_name=schedule.name)
      eb_helper().describe_schedule.assert_called_once_with(
          schedule_name=schedule.name
      )
      assert trigger["Schedule_Arn"] == SCHEDULE_ARN
      assert trigger["Schedule_State"] == DEFAULT_STATE
      assert trigger["Schedule_Start_Date"] == START_DATE.strftime(
          EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
      )
      assert trigger["Schedule_Expression"] == EXPECTED_AT_EXPRESSION
      assert trigger["Schedule_Role"] == EXECUTION_ROLE_ARN
      # delete
      pipeline.delete_triggers(trigger_names=[schedule.name])
      eb_helper().delete_schedule.assert_called_once_with(
          schedule_name=schedule.name
      )
      # delete pipeline
      pipeline.delete()
      assert sagemaker_session_mock.sagemaker_client.delete_pipeline.called_with(
          PipelineName=PIPELINE_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 7 for calling a global function with example usage: test_schedule_trigger_functionality(eb_helper, sagemaker_session_mock, role_arn) without return types