dag = DAG(dag_id="test_local_testing_conn_file", start_date=DEFAULT_DATE)
        mock_object = mock.MagicMock()
        @task_decorator
        def check_task():
            
            mock_object()
        with dag:
            check_task()
        dag.test()
        mock_object.assert_called_once()
    def test_dag_test_with_dependencies(self):
        dag = DAG(dag_id="test_local_testing_conn_file", start_date=DEFAULT_DATE)
        mock_object = mock.MagicMock()
        @task_decorator
        def check_task():