Skip to content

Commit

Permalink
fix: fix path for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
keithmanville committed Jan 31, 2025
1 parent 0b7171d commit a313bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/restapi/v1/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def resources_tar_file() -> DioptraFile:
with tarfile.open(fileobj=f, mode="w:gz") as tar:
tar.add("dioptra.toml")
tar.add("plugins", recursive=True)
tar.add("examples/hello-world.yaml")
tar.add(Path("examples", "hello-world.yaml"))
f.seek(0)

yield select_one_or_more_files([f.name])[0]
Expand Down

0 comments on commit a313bf2

Please sign in to comment.