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

potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit e1d2e7f3b52c40e34a5b947fc64cc6e641841c81
Author: Bowrna <[email protected]>
AuthorDate: Wed Dec 27 15:58:20 2023 +0530

    Update BREEZE.rst with different test example (#36234)
    
    Updating the breeze docs with different pytest example as the function 
mentioned in the example is removed from the test_core.py
    
    (cherry picked from commit 71c726d52d5a8a30f59268cc175560a4244c8016)
---
 BREEZE.rst                                      | 2 +-
 TESTING.rst                                     | 2 +-
 scripts/ci/pre_commit/common_precommit_utils.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/BREEZE.rst b/BREEZE.rst
index 4350c243e4..7bcda45029 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -1004,7 +1004,7 @@ Running single test:
 
 .. code-block:: bash
 
-    pytest tests/core/test_core.py::TestCore::test_check_operators
+    pytest tests/core/test_core.py::TestCore::test_dag_params_and_task_params
 
 To run the whole test class:
 
diff --git a/TESTING.rst b/TESTING.rst
index 5c0e16bc26..fba97b870a 100644
--- a/TESTING.rst
+++ b/TESTING.rst
@@ -830,7 +830,7 @@ This can also be done by specifying a full path to the test:
 
 .. code-block:: bash
 
-    pytest tests/core/test_core.py::TestCore::test_check_operators
+    pytest tests/core/test_core.py::TestCore::test_dag_params_and_task_params
 
 To run the whole test class, enter:
 
diff --git a/scripts/ci/pre_commit/common_precommit_utils.py 
b/scripts/ci/pre_commit/common_precommit_utils.py
index 5284f71fc1..76370b15ad 100644
--- a/scripts/ci/pre_commit/common_precommit_utils.py
+++ b/scripts/ci/pre_commit/common_precommit_utils.py
@@ -79,7 +79,7 @@ def initialize_breeze_precommit(name: str, file: str):
 
     if os.environ.get("SKIP_BREEZE_PRE_COMMITS"):
         console.print("[yellow]Skipping breeze pre-commit as 
SKIP_BREEZE_PRE_COMMIT is set")
-        sys.exit(1)
+        sys.exit(0)
     if shutil.which("breeze") is None:
         console.print(
             "[red]The `breeze` command is not on path.[/]\n\n"

Reply via email to