avkirilishin commented on a change in pull request #21684:
URL: https://github.com/apache/airflow/pull/21684#discussion_r813116831



##########
File path: tests/models/test_dag.py
##########
@@ -2029,14 +2029,14 @@ def test_count_number_queries(self, tasks_count):
 
 
 class TestDagDecorator(unittest.TestCase):
+    DEFAULT_DATE = timezone.datetime(2016, 1, 1)
     DEFAULT_ARGS = {
         "owner": "test",
         "depends_on_past": True,
-        "start_date": timezone.utcnow(),
+        "start_date": DEFAULT_DATE,

Review comment:
       It affects `test_dag_param_dagrun_parameterized` and 
`test_dag_param_resolves` where `execution_date` is `self.DEFAULT_DATE` 
(2016-01-01), but `execution_date` can not be less than DAG's start_date.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to