Skip to content

Commit

Permalink
Restore inject only (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
cidrblock authored May 10, 2023
1 parent 565b2b6 commit 653f844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox_ansible/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def conf_commands_for_integration_unit(
envtmpdir = env_conf["envtmpdir"]
# Use pytest ansible unit inject only to inject the collection path
# into the collection finder
command = f"python -m pytest {TOX_WORK_DIR}/tests/{test_type}"
command = f"python -m pytest --ansible-unit-inject-only {TOX_WORK_DIR}/tests/{test_type}"
unit_ch_dir = f"{envtmpdir}/collections/"
if test_type == "unit":
commands.append(f"bash -c 'cd {unit_ch_dir} && {command}'")
Expand Down

0 comments on commit 653f844

Please sign in to comment.