...
            dag = markdown_docs()
            assert isinstance(dag, DAG)
            assert dag.dag_id == "test-dag"
            assert dag.doc_md.strip() == "External Markdown DAG documentation"
    def test_fails_if_arg_not_set(self):
        """Test that @dag decorated function fails if positional argument is not set"""
        @dag_decorator(default_args=self.DEFAULT_ARGS)
        def noop_pipeline(value):
            @task_decorator
            def return_num(num):
                return num
            return_num(value)
        
        with pytest.raises(TypeError):
            noop_pipeline()
    def test_dag_param_resolves(self):