code: def test_exec_date_after_end_date(
      session, dag_maker, create_dummy_dag
  ):
      """
      If the dag's execution date is in the future this dep should fail
      """
      create_dummy_dag(
          "test_localtaskjob_heartbeat",
          start_date=datetime(2015, 1, 1),
          end_date=datetime(2016, 11, 5),
          schedule=None,
          with_dagrun_type=DagRunType.MANUAL,
          session=session,
      )
      (ti,) = dag_maker.create_dagrun(
          execution_date=datetime(2016, 11, 2)
      ).task_instances
      assert not RunnableExecDateDep().is_met(ti=ti)
  
file_path: airflow/tests/ti_deps/deps/test_runnable_exec_date_dep.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  import time_machine
  from airflow import settings
  from airflow.models import DagRun, TaskInstance
  from airflow.ti_deps.deps.runnable_exec_date_dep import RunnableExecDateDep
  from airflow.utils.timezone import datetime
  from airflow.utils.types import DagRunType
label_desc: Use image node_id 3 for calling a global function with example usage: test_exec_date_after_end_date(session, dag_maker, create_dummy_dag) without return types