From 6a04ccfdd07452c8aada10397a362850a9c231a5 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 26 Nov 2024 13:43:43 +0100 Subject: [PATCH] better logging of fam failures (#16967) (cherry picked from commit 04976cc6524e7f6c668445146408c8da1f69c085) --- 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 224d66a05b..078802d107 100644 --- a/tests/foreman/sys/test_fam.py +++ b/tests/foreman/sys/test_fam.py @@ -194,5 +194,4 @@ def test_positive_run_modules_and_roles(module_target_sat, setup_fam, ansible_mo result = module_target_sat.execute( f'NO_COLOR=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 make --directory {FAM_ROOT_DIR} 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=}\n{result.stdout=}\n{result.stderr=}"