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 dfca2cd9e6d revert run test not to skip pytest by breeze (#63870)
dfca2cd9e6d is described below

commit dfca2cd9e6d20dd8136614b7f9ec785b30277ce0
Author: Jeongwoo Do <[email protected]>
AuthorDate: Thu Mar 19 00:41:34 2026 +0900

    revert run test not to skip pytest by breeze (#63870)
---
 dev/breeze/src/airflow_breeze/commands/testing_commands.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/testing_commands.py 
b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
index c2b63ed378f..a6aa6ef021c 100644
--- a/dev/breeze/src/airflow_breeze/commands/testing_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
@@ -249,9 +249,10 @@ def _run_test(
     pytest_args.extend(extra_pytest_args)
     # Skip "FOLDER" in case "--ignore=FOLDER" is passed as an argument
     # Which might be the case if we are ignoring some providers during 
compatibility checks
+    pytest_args_before_skip = pytest_args
     pytest_args = [arg for arg in pytest_args if f"--ignore={arg}" not in 
pytest_args]
     # If no test directory is left (all positional args were 
excluded/ignored), skip
-    if pytest_args and pytest_args[0].startswith("--"):
+    if pytest_args_before_skip != pytest_args and 
pytest_args[0].startswith("--"):
         return 0, f"Skipped test, no tests needed: {shell_params.test_type}"
     run_cmd.extend(pytest_args)
     try:

Reply via email to