@@ -417,15 +417,15 @@ def test_streaming_response_list_processing(self, client: Supermemory) -> None:
417417 @parametrize
418418 def test_method_upload_file (self , client : Supermemory ) -> None :
419419 document = client .documents .upload_file (
420- file = b"raw file contents " ,
420+ file = b"Example data " ,
421421 )
422422 assert_matches_type (DocumentUploadFileResponse , document , path = ["response" ])
423423
424424 @pytest .mark .skip (reason = "Mock server tests are disabled" )
425425 @parametrize
426426 def test_method_upload_file_with_all_params (self , client : Supermemory ) -> None :
427427 document = client .documents .upload_file (
428- file = b"raw file contents " ,
428+ file = b"Example data " ,
429429 container_tags = '["user_123", "project_123"]' ,
430430 file_type = "image" ,
431431 metadata = '{"category": "technology", "isPublic": true, "readingTime": 5}' ,
@@ -438,7 +438,7 @@ def test_method_upload_file_with_all_params(self, client: Supermemory) -> None:
438438 @parametrize
439439 def test_raw_response_upload_file (self , client : Supermemory ) -> None :
440440 response = client .documents .with_raw_response .upload_file (
441- file = b"raw file contents " ,
441+ file = b"Example data " ,
442442 )
443443
444444 assert response .is_closed is True
@@ -450,7 +450,7 @@ def test_raw_response_upload_file(self, client: Supermemory) -> None:
450450 @parametrize
451451 def test_streaming_response_upload_file (self , client : Supermemory ) -> None :
452452 with client .documents .with_streaming_response .upload_file (
453- file = b"raw file contents " ,
453+ file = b"Example data " ,
454454 ) as response :
455455 assert not response .is_closed
456456 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -857,15 +857,15 @@ async def test_streaming_response_list_processing(self, async_client: AsyncSuper
857857 @parametrize
858858 async def test_method_upload_file (self , async_client : AsyncSupermemory ) -> None :
859859 document = await async_client .documents .upload_file (
860- file = b"raw file contents " ,
860+ file = b"Example data " ,
861861 )
862862 assert_matches_type (DocumentUploadFileResponse , document , path = ["response" ])
863863
864864 @pytest .mark .skip (reason = "Mock server tests are disabled" )
865865 @parametrize
866866 async def test_method_upload_file_with_all_params (self , async_client : AsyncSupermemory ) -> None :
867867 document = await async_client .documents .upload_file (
868- file = b"raw file contents " ,
868+ file = b"Example data " ,
869869 container_tags = '["user_123", "project_123"]' ,
870870 file_type = "image" ,
871871 metadata = '{"category": "technology", "isPublic": true, "readingTime": 5}' ,
@@ -878,7 +878,7 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncSuper
878878 @parametrize
879879 async def test_raw_response_upload_file (self , async_client : AsyncSupermemory ) -> None :
880880 response = await async_client .documents .with_raw_response .upload_file (
881- file = b"raw file contents " ,
881+ file = b"Example data " ,
882882 )
883883
884884 assert response .is_closed is True
@@ -890,7 +890,7 @@ async def test_raw_response_upload_file(self, async_client: AsyncSupermemory) ->
890890 @parametrize
891891 async def test_streaming_response_upload_file (self , async_client : AsyncSupermemory ) -> None :
892892 async with async_client .documents .with_streaming_response .upload_file (
893- file = b"raw file contents " ,
893+ file = b"Example data " ,
894894 ) as response :
895895 assert not response .is_closed
896896 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments