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/09/08 18:30:26 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #6058: [AIRFLOW-5439] Add 'schedule_interval' to 'default_args'

mik-laj commented on a change in pull request #6058: [AIRFLOW-5439] Add 'schedule_interval' to 'default_args'
URL: https://github.com/apache/airflow/pull/6058#discussion_r322022912
 
 

 ##########
 File path: tests/models/test_dag.py
 ##########
 @@ -890,3 +890,9 @@ def test_tree_view(self):
             self.assertIn('t1', stdout_lines[0])
             self.assertIn('t2', stdout_lines[1])
             self.assertIn('t3', stdout_lines[2])
+
+    def test_dag_default_args_schedule_interval(self):
+        DAG('DAG', default_args={'schedule_interval': datetime.timedelta(days=2, hours=1, minutes=30)})
 
 Review comment:
   Can you add assertions in this test?

----------------------------------------------------------------
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