Skip to content

Commit afbf54d

Browse files
committed
--amend
1 parent 0d0e014 commit afbf54d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/test_public_api.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,11 @@ def test_project_build(
297297
project.reset()
298298

299299
# Files added in the "other" folder are moved in the project root after reset
300-
new_file_in_other = (tmp_path / "pinnifred.txt").replace(tmp_path / "other")
301-
files_before_build.append(new_file_in_other)
300+
(tmp_path / "other").mkdir(parents=True, exist_ok=True)
301+
(tmp_path / "pinnifred.txt").replace(
302+
tmp_path / "other" / "pinnifred.txt",
303+
)
304+
files_before_build.append(tmp_path / "pinnifred.txt")
302305

303306
# Resetting the project should put back all original files back
304307
project.reset()

0 commit comments

Comments
 (0)