From e3aef08dca57e4f7cb80b55532ebebf502ed0661 Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Tue, 27 Jan 2026 14:43:57 +0100 Subject: [PATCH 1/2] Increase verbosity && change assert in cons. tests --- .github/workflows/consumer_test.yml | 2 +- src/tests/test_consumer.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/consumer_test.yml b/.github/workflows/consumer_test.yml index 15b15478..685e8dad 100644 --- a/.github/workflows/consumer_test.yml +++ b/.github/workflows/consumer_test.yml @@ -45,7 +45,7 @@ jobs: run: | set -o pipefail - .venv_docs/bin/python -m pytest -s -v src/tests/ --repo="$CONSUMER" --junitxml="reports/${{ matrix.consumer }}.xml" | tee "reports/${{ matrix.consumer }}.log" + .venv_docs/bin/python -m pytest -s -vv src/tests/ --repo="$CONSUMER" --junitxml="reports/${{ matrix.consumer }}.xml" | tee "reports/${{ matrix.consumer }}.log" env: FORCE_COLOR: "1" TERM: xterm-256color diff --git a/src/tests/test_consumer.py b/src/tests/test_consumer.py index 14adad1b..5b3145f4 100644 --- a/src/tests/test_consumer.py +++ b/src/tests/test_consumer.py @@ -669,7 +669,8 @@ def test_and_clone_repos_updated(sphinx_base_dir: Path, pytestconfig: Config): # Printing a 'overview' table as a result print_result_table(results) - assert overall_success, ( - "Consumer Tests failed, see table for which commands specifically. " - "Enable verbosity for warning/error printouts" - ) + if not overall_success: + pytest.fail( + reason="Consumer Tests failed, see table for which commands specifically. " + "" + ) From 4bf87e57cf856eb452a373d6f6d7322bd028a2cd Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Tue, 27 Jan 2026 14:49:50 +0100 Subject: [PATCH 2/2] Formatting --- src/tests/test_consumer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tests/test_consumer.py b/src/tests/test_consumer.py index 5b3145f4..c57e700e 100644 --- a/src/tests/test_consumer.py +++ b/src/tests/test_consumer.py @@ -672,5 +672,4 @@ def test_and_clone_repos_updated(sphinx_base_dir: Path, pytestconfig: Config): if not overall_success: pytest.fail( reason="Consumer Tests failed, see table for which commands specifically. " - "" )