You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ColtenOuO (via GitHub)" <gi...@apache.org> on 2026/05/05 18:54:04 UTC
[PR] Use shared Zulu datetime formatter in remaining FastAPI tests [airflow]
ColtenOuO opened a new pull request, #66439:
URL: https://github.com/apache/airflow/pull/66439
## Summary
Closes #44033 by migrating the last three inline `dt.isoformat().replace("+00:00", "Z")` call sites in FastAPI public API tests to the shared helpers in [`tests_common.test_utils.format_datetime`](devel-common/src/tests_common/test_utils/format_datetime.py) (`from_datetime_to_zulu` / `from_datetime_to_zulu_without_ms`).
The helpers were introduced earlier under the AIP-84 cleanup; this PR closes the remaining gap. After this, no `isoformat().replace("+00:00", "Z")` strings remain anywhere in `airflow-core/tests/` or `task-sdk/`.
## Related
- #44108 — earlier attempt; reviewer requested helper to live under `tests_common` and cover multiple files.
- #52042 — second attempt; closed due to merge conflicts and a parallel landing of the helper module under a different name.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Use shared Zulu datetime formatter in remaining FastAPI tests [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #66439:
URL: https://github.com/apache/airflow/pull/66439
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org