Skip to content

Commit

Permalink
simplify call by using pytest directly, without make
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 20, 2024
1 parent 67efb89 commit e79e439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/sys/test_fam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit e79e439

Please sign in to comment.