sla_callback = MagicMock()
        
        
        test_start_date = timezone.utcnow() - datetime.timedelta(days=2)
        dag, task = create_dummy_dag(
            dag_id="test_sla_miss",
            task_id="dummy",
            sla_miss_callback=sla_callback,
            default_args={"start_date": test_start_date, "sla": datetime.timedelta(days=1)},
        )
        
        session.merge(TaskInstance(task=task, execution_date=test_start_date, state="success"))
        
        session.merge(
            SlaMiss(
                task_id="dummy",
                dag_id="test_sla_miss",
                execution_date=test_start_date,
                email_sent=False,
                notification_sent=True,
            )
        )
        
        dag_file_processor = DagFileProcessor(
            dag_ids=[], dag_directory=TEST_DAGS_FOLDER, log=mock.MagicMock()
        )
        dag_file_processor.manage_slas(dag=dag, session=session)
        sla_callback.assert_not_called()
    @mock.patch("airflow.dag_processing.processor.Stats.incr")
    def test_dag_file_processor_sla_miss_doesnot_raise_integrity_error(self, mock_stats_incr, dag_maker):