diff mbox series

[meta-python] python3-typer: Ignore failing ptests

Message ID 20250211163440.831559-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-typer: Ignore failing ptests | expand

Commit Message

Khem Raj Feb. 11, 2025, 4:34 p.m. UTC
They call terminalreporter API from pytest which are
not working since they are not external APIs, pytest
is not at fault here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-devtools/python/python3-typer/run-ptest      | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-typer/run-ptest b/meta-python/recipes-devtools/python/python3-typer/run-ptest
index 94b6c0fc22..526825aadf 100644
--- a/meta-python/recipes-devtools/python/python3-typer/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-typer/run-ptest
@@ -4,4 +4,11 @@ 
 # Because it needs the docs_src package what is not in Yocto.
 # And the tests are not that useful for Yocto.
 # for test_rich_markup_mode.py see https://github.com/fastapi/typer/pull/859/files/2cfd641d86a591a0d8582dec9292c03e6322a21a
-pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion --deselect tests/test_rich_markup_mode.py::test_rich_markup_mode_rich
+pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion \
+       --deselect tests/test_cli/test_completion_run.py::test_script_completion_run \
+       --deselect tests/test_cli/test_doc.py::test_doc_html_output \
+       --deselect tests/test_cli/test_sub_completion.py::test_script_completion_run \
+       --deselect tests/test_others.py::test_completion_argument \
+       --deselect tests/test_others.py::test_completion_untyped_parameters \
+       --deselect tests/test_others.py::test_completion_untyped_parameters_different_order_correct_names \
+       --deselect tests/test_rich_markup_mode.py::test_rich_markup_mode_rich