You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/12/04 11:27:10 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #6727: Add a structural dag validation example

mik-laj commented on a change in pull request #6727: Add a structural dag validation example
URL: https://github.com/apache/airflow/pull/6727#discussion_r353689094
 
 

 ##########
 File path: docs/best-practices.rst
 ##########
 @@ -148,6 +148,27 @@ Unit tests ensure that there is no incorrect code in your DAG. You can write a u
         self.assertIsNotNone(dag)
         self.assertEqual(len(dag.tasks), 1)
 
+**Unit test a DAG structure:**
+
+.. code::
 
 Review comment:
   Can you add short introduction? "If you wanna verify..., then..." 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services