Skip to content

Commit 80bedbf

Browse files
committed
Path fix
1 parent 5f2c2da commit 80bedbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest_ansible_network_integration/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def ansible_project(
278278
inventory=inventory_path,
279279
directory=tmp_path,
280280
role=integration_test_path.name,
281-
log_file=Path(f"~/test_logs/{integration_test_path.name}.log").resolve(),
282-
playbook_artifact=Path(f"~/test_logs/{integration_test_path.name}.json").resolve(),
281+
log_file=Path.home() / "test_logs" / "{integration_test_path.name}.log",
282+
playbook_artifact=Path.home() / "test_logs" / "{integration_test_path.name}.json",
283283
)
284284

285285

0 commit comments

Comments
 (0)