Skip to content

Commit d57e7fa

Browse files
committed
add cwd and user_target at same level as cases in tmp dir
1 parent 15fd82a commit d57e7fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def example_cases(tmp_path_factory):
3030
Returns the path to that copy.
3131
"""
3232
root_temp_dir = tmp_path_factory.mktemp("temp")
33-
33+
cwd = root_temp_dir / "cwd"
34+
cwd.mkdir(parents=True, exist_ok=True)
35+
user_target = root_temp_dir / "user_target"
36+
user_target.mkdir(parents=True, exist_ok=True)
3437
# case 1: pack with no examples
3538
case1ex_dir = root_temp_dir / "case1" / "docs" / "examples"
3639
case1 = case1ex_dir / "empty_pack" # empty_pack

0 commit comments

Comments
 (0)