Skip to content

Commit 22ebba9

Browse files
committed
add some more randomness
1 parent 143af72 commit 22ebba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/file_extra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _create_random_content(
4545
max_value=min(remaining_size, file_max_size),
4646
)
4747
) # max file size 1MB
48-
file_path = base_dir / f"{faker.file_path(depth=4, absolute=False)}"
48+
file_path = base_dir / f"{faker.file_path(depth=faker.pyint(0, 5), absolute=False)}"
4949
file_path.parent.mkdir(parents=True, exist_ok=True)
5050
assert not file_path.exists()
5151
with file_path.open("wb") as fp:

0 commit comments

Comments
 (0)