uranusjr commented on a change in pull request #21796:
URL: https://github.com/apache/airflow/pull/21796#discussion_r815296676



##########
File path: tests/api_connexion/endpoints/test_extra_link_endpoint.py
##########
@@ -95,7 +94,7 @@ def _create_dag():
         with DAG(
             dag_id="TEST_DAG_ID",
             default_args=dict(
-                start_date=days_ago(2),
+                start_date=datetime.datetime(2022, 1, 1),

Review comment:
       For tests specifically I actually prefer `datetime.datetime` since it 
better ensures we are coercing timezones correctly internally.




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