diff --git a/tests/foreman/sys/test_fam.py b/tests/foreman/sys/test_fam.py index ee637b44d0..640a0b4f44 100644 --- a/tests/foreman/sys/test_fam.py +++ b/tests/foreman/sys/test_fam.py @@ -190,6 +190,6 @@ def test_positive_run_modules_and_roles(module_target_sat, setup_fam, ansible_mo # Execute test_playbook 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"' + f'cd {FAM_ROOT_DIR} && pytest-3.11 "tests/test_crud.py::test_crud[{ansible_module}]" --vcrmode=live --color=no' ) assert result.status == 0, f"{result.status=}\nstdout:\n{result.stdout} stderr:\n{result.stderr}"