Skip to content

Commit b04a0af

Browse files
committed
fix storage mocks
1 parent fdff2d8 commit b04a0af

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/storage_rpc_server.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
AsyncJobGet,
1414
)
1515
from models_library.api_schemas_webserver.storage import PathToExport
16-
from models_library.products import ProductName
17-
from models_library.users import UserID
1816
from pydantic import TypeAdapter, validate_call
1917
from pytest_mock import MockType
2018
from servicelib.rabbitmq._client_rpc import RabbitMQRPCClient
@@ -27,14 +25,12 @@ async def start_export_data(
2725
self,
2826
rabbitmq_rpc_client: RabbitMQRPCClient | MockType,
2927
*,
30-
user_id: UserID,
31-
product_name: ProductName,
3228
paths_to_export: list[PathToExport],
3329
export_as: Literal["path", "download_link"],
30+
job_filter: AsyncJobFilter,
3431
) -> tuple[AsyncJobGet, AsyncJobFilter]:
3532
assert rabbitmq_rpc_client
36-
assert user_id
37-
assert product_name
33+
assert job_filter
3834
assert paths_to_export
3935
assert export_as
4036

0 commit comments

Comments
 (0)