Skip to content

Commit c3b9fa0

Browse files
committed
ruff
1 parent fbe04d8 commit c3b9fa0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/storage/tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,9 @@ async def output_file(
890890
bucket=TypeAdapter(S3BucketName).validate_python("master-simcore"),
891891
location_id=SimcoreS3DataManager.get_location_id(),
892892
location_name=SimcoreS3DataManager.get_location_name(),
893-
sha256_checksum=faker.sha256(),
893+
sha256_checksum=TypeAdapter(SHA256Str).validate_python(
894+
faker.sha256(raw_output=False)
895+
),
894896
)
895897
file.entity_tag = "df9d868b94e53d18009066ca5cd90e9f"
896898
file.file_size = ByteSize(12)

0 commit comments

Comments
 (0)