Skip to content

Commit

Permalink
fix(plugins): Root folder name on generated .tar.gz (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz authored Jun 20, 2024
1 parent 97ad1f7 commit 881ba65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_plugins/test_filler/test_filler.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def create_tarball(
with tarfile.open(tarball_filename, "w:gz") as tar:
for file in source_dir.rglob("*"):
if file.suffix in {".json", ".ini"}:
arcname = file.relative_to(source_dir.parent)
arcname = Path("fixtures") / file.relative_to(source_dir)
tar.add(file, arcname=arcname)


Expand Down

0 comments on commit 881ba65

Please sign in to comment.