From faa1e4de17fb248e3722666dcdf971337df16b37 Mon Sep 17 00:00:00 2001 From: bigcat88 Date: Tue, 9 Sep 2025 15:17:03 +0300 Subject: [PATCH] fixed another test --- tests-assets/test_uploads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-assets/test_uploads.py b/tests-assets/test_uploads.py index 65c34f139..8c50beb09 100644 --- a/tests-assets/test_uploads.py +++ b/tests-assets/test_uploads.py @@ -108,7 +108,7 @@ async def test_upload_fastpath_from_existing_hash_no_file(http: aiohttp.ClientSe h = b1["asset_hash"] # Now POST /api/assets with only hash and no file - form2 = aiohttp.FormData() + form2 = aiohttp.FormData(default_to_multipart=True) form2.add_field("hash", h) form2.add_field("tags", json.dumps(tags)) form2.add_field("name", "fastpath_copy.safetensors")