From 67efb89a95a405937feaccfbe3a0b51fcbf1e2a4 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 20 Nov 2024 16:12:30 +0100 Subject: [PATCH] better logging of fam failures --- tests/foreman/sys/test_fam.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/foreman/sys/test_fam.py b/tests/foreman/sys/test_fam.py index 2b3ea7e9c3..ee637b44d0 100644 --- a/tests/foreman/sys/test_fam.py +++ b/tests/foreman/sys/test_fam.py @@ -192,5 +192,4 @@ def test_positive_run_modules_and_roles(module_target_sat, setup_fam, ansible_mo result = module_target_sat.execute( f'export NO_COLOR=True && cd {FAM_ROOT_DIR} && make livetest_{ansible_module} PYTHON_COMMAND="python3" PYTEST_COMMAND="pytest-3.11"' ) - assert 'PASSED' in result.stdout - assert result.status == 0 + assert result.status == 0, f"{result.status=}\nstdout:\n{result.stdout} stderr:\n{result.stderr}"