From 9a0071691ac14275b0bdbf4bbed4116331e28247 Mon Sep 17 00:00:00 2001
From: Ephraim Anierobi <splendidzigy24@gmail.com>
Date: Thu, 30 Jan 2025 09:31:32 +0100
Subject: [PATCH] fixup! Apply suggestions from code review

---
 tests/dag_processing/test_dag_bundles.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/dag_processing/test_dag_bundles.py b/tests/dag_processing/test_dag_bundles.py
index 621bb46c738ed0..fe259bfa9f22c3 100644
--- a/tests/dag_processing/test_dag_bundles.py
+++ b/tests/dag_processing/test_dag_bundles.py
@@ -458,9 +458,7 @@ def test_clone_bare_repo_git_command_error(self, mock_githook):
             bundle = GitDagBundle(name="test", tracking_ref="main")
             with pytest.raises(
                 AirflowException,
-                match=re.escape(
-                    "('Error cloning repository: %s', GitCommandError('clone', 'Simulated error'))"
-                ),
+                match=re.escape("Error cloning repository"),
             ):
                 bundle.initialize()