airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] mik-laj commented on a change in pull request #6727: Add a structural dag validation example
Date Wed, 04 Dec 2019 11:27:10 GMT
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

Mime
View raw message