Skip to content

Commit

Permalink
Update BREEZE.rst with different test example (apache#36234)
Browse files Browse the repository at this point in the history
Updating the breeze docs with different pytest example as the function mentioned in the example is removed from the test_core.py
  • Loading branch information
Bowrna authored Dec 27, 2023
1 parent f5e5027 commit 71c726d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BREEZE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion TESTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,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:

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/pre_commit/common_precommit_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 71c726d

Please sign in to comment.