fixed another test

This commit is contained in:
bigcat88 2025-09-09 15:17:03 +03:00
parent dfb5703d40
commit faa1e4de17
No known key found for this signature in database
GPG Key ID: 1F0BF0EC3CF22721

View File

@ -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")