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 47c2157 commit 92d412fCopy full SHA for 92d412f
packages/pytest-simcore/src/pytest_simcore/file_extra.py
@@ -37,14 +37,12 @@ def _create_random_content(
37
if remaining_size <= 0:
38
return remaining_size
39
40
- # Decide to create a file or a subdirectory
41
- # Create a file
42
file_size = ByteSize(
43
faker.pyint(
44
min_value=min(file_min_size, remaining_size),
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=faker.pyint(0, 5), absolute=False)}"
49
file_path.parent.mkdir(parents=True, exist_ok=True)
50
assert not file_path.exists()
0 commit comments