kaxil commented on code in PR #44241:
URL: https://github.com/apache/airflow/pull/44241#discussion_r1860754341
##########
task_sdk/tests/execution_time/test_task_runner.py:
##########
@@ -86,3 +87,41 @@ def test_run_basic(test_dags_dir: Path):
ti = parse(what)
run(ti, log=mock.MagicMock())
+
+
+def test_run_deferred_basic(test_dags_dir: Path):
+ """Test running a basic task."""
+ from datetime import datetime
+
+ mock_utcnow = mock.MagicMock(return_value=timezone.datetime(2024, 11, 22,
0, 0, 0))
Review Comment:
updated in
https://github.com/apache/airflow/pull/44241/commits/187c6eee9ef9076e6683b3c8088059eced916e2a
--
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]