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 b78ba6db472 Fix Breeze unit tests for milestone tagging (#63031)
b78ba6db472 is described below
commit b78ba6db4726e95bb9cd5f05407077c05ba01043
Author: ANKIT KUMAR <[email protected]>
AuthorDate: Wed Mar 11 00:09:06 2026 +0530
Fix Breeze unit tests for milestone tagging (#63031)
The GITHUB_REPOSITORY environment variable is set in the CI pipeline
to the repository fork (e.g. Ironankit525/airflow).
This overrides the default value of 'apache/airflow' in the
option_github_repository of the Breeze CLI.
This causes the test assertions to fail when they expect the
comment URL to use 'apache/airflow' but it actually uses the
fork repository.
This commit explicitly passes '--github-repository apache/airflow'
in the test arguments to ensure they are unaffected by this environment
variable.
---
dev/breeze/tests/test_set_milestone.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/breeze/tests/test_set_milestone.py
b/dev/breeze/tests/test_set_milestone.py
index e7c1c291534..78aa8f19325 100644
--- a/dev/breeze/tests/test_set_milestone.py
+++ b/dev/breeze/tests/test_set_milestone.py
@@ -446,6 +446,8 @@ class TestSetMilestoneCommand:
"testuser",
"--github-token",
"fake-token",
+ "--github-repository",
+ "apache/airflow",
],
)
@@ -550,6 +552,8 @@ If this milestone is not correct, please update it to the
appropriate milestone.
"testuser",
"--github-token",
"fake-token",
+ "--github-repository",
+ "apache/airflow",
],
)