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 7ee068e173b Fix git connection test by adding required conn_type field
(#54681)
7ee068e173b is described below
commit 7ee068e173b38ed13e01ecef68e363a0909288aa
Author: Amogh Desai <[email protected]>
AuthorDate: Wed Aug 20 02:54:59 2025 +0530
Fix git connection test by adding required conn_type field (#54681)
---
providers/git/tests/unit/git/bundles/test_git.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/providers/git/tests/unit/git/bundles/test_git.py
b/providers/git/tests/unit/git/bundles/test_git.py
index 5bd952ee1d8..6fc73fcab24 100644
--- a/providers/git/tests/unit/git/bundles/test_git.py
+++ b/providers/git/tests/unit/git/bundles/test_git.py
@@ -655,8 +655,7 @@ class TestGitDagBundle:
assert "Repository path: %s not found" in str(exc_info.value)
- @pytest.mark.db_test
- @patch.dict(os.environ, {"AIRFLOW_CONN_MY_TEST_GIT": '{"host":
"something"}'})
+ @patch.dict(os.environ, {"AIRFLOW_CONN_MY_TEST_GIT": '{"host":
"something", "conn_type": "git"}'})
@pytest.mark.parametrize(
"conn_id, expected_hook_type",
[("my_test_git", GitHook), ("something-else", type(None))],