Skip to content

Commit 2244472

Browse files
committed
small fixes
1 parent 2552c3d commit 2244472

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

services/storage/tests/unit/test_handlers_files.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ def complex_file_name(faker: Faker) -> str:
569569
[
570570
(TypeAdapter(ByteSize).validate_python("1Mib")),
571571
(TypeAdapter(ByteSize).validate_python("500Mib")),
572-
pytest.param(TypeAdapter(ByteSize, "7Gib")).validate_python(
573-
marks=pytest.mark.heavy_load
572+
pytest.param(
573+
TypeAdapter(ByteSize).validate_python("7Gib"), marks=pytest.mark.heavy_load
574574
),
575575
],
576576
ids=byte_size_ids,
@@ -820,7 +820,10 @@ async def test_upload_real_file_with_s3_client(
820820

821821
@pytest.mark.parametrize(
822822
"file_size",
823-
[TypeAdapter(ByteSize, "160Mib"), TypeAdapter(ByteSize).validate_python("1Mib")],
823+
[
824+
TypeAdapter(ByteSize).validate_python("160Mib"),
825+
TypeAdapter(ByteSize).validate_python("1Mib"),
826+
],
824827
ids=byte_size_ids,
825828
)
826829
async def test_upload_twice_and_fail_second_time_shall_keep_first_version(

0 commit comments

Comments
 (0)