File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4444from models_library .users import UserID
4545from models_library .utils .fastapi_encoders import jsonable_encoder
4646from pydantic import ByteSize , TypeAdapter
47- from pytest_mock import MockerFixture , MockFixture
47+ from pytest_mock import MockerFixture
4848from pytest_simcore .helpers .fastapi import url_from_operation_id
4949from pytest_simcore .helpers .httpx_assert_checks import assert_status
5050from pytest_simcore .helpers .logging_tools import log_context
@@ -325,9 +325,9 @@ async def _link_creator(
325325 location_id = f"{ location_id } " ,
326326 file_id = file_id ,
327327 ).with_query (** query_kwargs , user_id = user_id )
328- assert "file_size" in url . query , (
329- "V2 call to upload file must contain file_size field!"
330- )
328+ assert (
329+ "file_size" in url . query
330+ ), "V2 call to upload file must contain file_size field!"
331331 response = await client .put (f"{ url } " )
332332 received_file_upload , error = assert_status (
333333 response , status .HTTP_200_OK , FileUploadSchema
You can’t perform that action at this time.
0 commit comments