We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d0e014 commit afbf54dCopy full SHA for afbf54d
1 file changed
tests/test_public_api.py
@@ -297,8 +297,11 @@ def test_project_build(
297
project.reset()
298
299
# 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)
+ (tmp_path / "other").mkdir(parents=True, exist_ok=True)
+ (tmp_path / "pinnifred.txt").replace(
302
+ tmp_path / "other" / "pinnifred.txt",
303
+ )
304
+ files_before_build.append(tmp_path / "pinnifred.txt")
305
306
# Resetting the project should put back all original files back
307
0 commit comments