Skip to content

Commit 6be292e

Browse files
committed
@GitHK _type -> selection_type
1 parent 0ebfb6c commit 6be292e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/storage/tests/unit/test_data_export.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class UserWithFile(NamedTuple):
167167
indirect=True,
168168
)
169169
@pytest.mark.parametrize(
170-
"project_params,_type",
170+
"project_params,selection_type",
171171
[
172172
(
173173
ProjectWithFilesParams(
@@ -203,17 +203,17 @@ async def test_start_data_export_success(
203203
dict[NodeID, dict[SimcoreS3FileID, FileIDDict]],
204204
],
205205
user_id: UserID,
206-
_type: Literal["file", "folder"],
206+
selection_type: Literal["file", "folder"],
207207
):
208208
_, list_of_files = with_random_project_with_files
209209
workspace_files = [
210210
p for p in next(iter(list_of_files.values())) if "/workspace/" in p
211211
]
212212
assert len(workspace_files) > 0
213213
file_or_folder_id: SimcoreS3FileID
214-
if _type == "file":
214+
if selection_type == "file":
215215
file_or_folder_id = workspace_files[0]
216-
elif _type == "folder":
216+
elif selection_type == "folder":
217217
parts = Path(workspace_files[0]).parts
218218
parts = parts[0 : parts.index("workspace") + 1]
219219
assert len(parts) > 0

0 commit comments

Comments
 (0)