This is an automated email from the ASF dual-hosted git repository.

amoghdesai 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 40789d67797 Clarify _mock_plugins fixture docstring (#50339)
40789d67797 is described below

commit 40789d677972a3d7d0827e5a12329879487f7926
Author: Amogh Desai <[email protected]>
AuthorDate: Fri May 9 11:29:53 2025 +0530

    Clarify _mock_plugins fixture docstring (#50339)
---
 devel-common/src/tests_common/pytest_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel-common/src/tests_common/pytest_plugin.py 
b/devel-common/src/tests_common/pytest_plugin.py
index c0193ccd5df..75f2899d4b2 100644
--- a/devel-common/src/tests_common/pytest_plugin.py
+++ b/devel-common/src/tests_common/pytest_plugin.py
@@ -1712,7 +1712,7 @@ def _disable_redact(request: pytest.FixtureRequest, 
mocker):
 
 @pytest.fixture(autouse=True)
 def _mock_plugins(request: pytest.FixtureRequest):
-    """Disable redacted text in tests, except specific."""
+    """Mock the plugin manager if marked with this fixture."""
     if mark := next(request.node.iter_markers("mock_plugin_manager"), None):
         from tests_common.test_utils.mock_plugins import mock_plugin_manager
 

Reply via email to