We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143af72 commit 22ebba9Copy full SHA for 22ebba9
packages/pytest-simcore/src/pytest_simcore/file_extra.py
@@ -45,7 +45,7 @@ def _create_random_content(
45
max_value=min(remaining_size, file_max_size),
46
)
47
) # max file size 1MB
48
- file_path = base_dir / f"{faker.file_path(depth=4, absolute=False)}"
+ file_path = base_dir / f"{faker.file_path(depth=faker.pyint(0, 5), absolute=False)}"
49
file_path.parent.mkdir(parents=True, exist_ok=True)
50
assert not file_path.exists()
51
with file_path.open("wb") as fp:
0 commit comments