Skip to content

Commit a3522b6

Browse files
author
Andrei Neagu
committed
replaced tests with mocks
1 parent c9a93f7 commit a3522b6

File tree

3 files changed

+251
-335
lines changed

3 files changed

+251
-335
lines changed

services/storage/src/simcore_service_storage/api/rpc/_async_jobs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ async def result(
119119
async def list_jobs(
120120
app: FastAPI, filter_: str, job_id_data: AsyncJobNameData
121121
) -> list[AsyncJobGet]:
122+
_ = filter_
122123
assert app # nosec
123124
try:
124125
task_uuids = await get_celery_client(app).get_task_uuids(

services/storage/src/simcore_service_storage/api/rpc/_simcore_s3.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,4 @@ async def start_export_data(
3939
user_id=job_id_data.user_id,
4040
paths_to_export=paths_to_export,
4141
)
42-
return AsyncJobGet(
43-
job_id=task_uuid,
44-
)
42+
return AsyncJobGet(job_id=task_uuid)

0 commit comments

Comments
 (0)