You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/05/02 05:17:24 UTC
(airflow) branch main updated: docs(unit_tests.rst): correct DAG test path after 3.0 move (#50106)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3fa4e701b28 docs(unit_tests.rst): correct DAG test path after 3.0 move (#50106)
3fa4e701b28 is described below
commit 3fa4e701b284192724499be4cd3f87c72a39f815
Author: Kevin Liu <58...@users.noreply.github.com>
AuthorDate: Fri May 2 13:17:17 2025 +0800
docs(unit_tests.rst): correct DAG test path after 3.0 move (#50106)
As part of the 3.0 code-base re-organisation, all core model tests were moved from `tests/models/` to `airflow-core/tests/unit/models/`.
This patch:
* updates internal path reference used in documentation and helper
No functional code is changed—only the test-suite layout and related paths.
---
contributing-docs/testing/unit_tests.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contributing-docs/testing/unit_tests.rst b/contributing-docs/testing/unit_tests.rst
index f6d6d9c4509..228e380b297 100644
--- a/contributing-docs/testing/unit_tests.rst
+++ b/contributing-docs/testing/unit_tests.rst
@@ -51,6 +51,8 @@ That mean if one of this warning appear during test run and do not captured the
...
FAILED tests/models/test_dag.py::TestDag::test_clear_dag[None-None] - airflow.exceptions.RemovedInAirflow3Warning: Calling `DAG.create_dagrun()` without an explicit data interval is deprecated
+**NOTE:** As of Airflow 3.0 the test file tests/models/test_dag.py has been relocated to airflow-core/tests/unit/models/test_dag.py.
+
For avoid this make sure:
* You do not use deprecated method, classes and arguments in your test cases;