@@ -22,7 +22,7 @@ class TestClassify:
2222 def test_method_batch (self , client : Docstrange ) -> None :
2323 classify = client .classify .batch (
2424 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
25- files = [b"raw file contents " ],
25+ files = [b"Example data " ],
2626 )
2727 assert_matches_type (BatchClassifyResponse , classify , path = ["response" ])
2828
@@ -31,7 +31,7 @@ def test_method_batch(self, client: Docstrange) -> None:
3131 def test_raw_response_batch (self , client : Docstrange ) -> None :
3232 response = client .classify .with_raw_response .batch (
3333 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
34- files = [b"raw file contents " ],
34+ files = [b"Example data " ],
3535 )
3636
3737 assert response .is_closed is True
@@ -44,7 +44,7 @@ def test_raw_response_batch(self, client: Docstrange) -> None:
4444 def test_streaming_response_batch (self , client : Docstrange ) -> None :
4545 with client .classify .with_streaming_response .batch (
4646 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
47- files = [b"raw file contents " ],
47+ files = [b"Example data " ],
4848 ) as response :
4949 assert not response .is_closed
5050 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -59,7 +59,7 @@ def test_streaming_response_batch(self, client: Docstrange) -> None:
5959 def test_method_sync (self , client : Docstrange ) -> None :
6060 classify = client .classify .sync (
6161 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
62- file = b"raw file contents " ,
62+ file = b"Example data " ,
6363 )
6464 assert_matches_type (ClassifyResponse , classify , path = ["response" ])
6565
@@ -68,7 +68,7 @@ def test_method_sync(self, client: Docstrange) -> None:
6868 def test_raw_response_sync (self , client : Docstrange ) -> None :
6969 response = client .classify .with_raw_response .sync (
7070 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
71- file = b"raw file contents " ,
71+ file = b"Example data " ,
7272 )
7373
7474 assert response .is_closed is True
@@ -81,7 +81,7 @@ def test_raw_response_sync(self, client: Docstrange) -> None:
8181 def test_streaming_response_sync (self , client : Docstrange ) -> None :
8282 with client .classify .with_streaming_response .sync (
8383 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
84- file = b"raw file contents " ,
84+ file = b"Example data " ,
8585 ) as response :
8686 assert not response .is_closed
8787 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -102,7 +102,7 @@ class TestAsyncClassify:
102102 async def test_method_batch (self , async_client : AsyncDocstrange ) -> None :
103103 classify = await async_client .classify .batch (
104104 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
105- files = [b"raw file contents " ],
105+ files = [b"Example data " ],
106106 )
107107 assert_matches_type (BatchClassifyResponse , classify , path = ["response" ])
108108
@@ -111,7 +111,7 @@ async def test_method_batch(self, async_client: AsyncDocstrange) -> None:
111111 async def test_raw_response_batch (self , async_client : AsyncDocstrange ) -> None :
112112 response = await async_client .classify .with_raw_response .batch (
113113 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
114- files = [b"raw file contents " ],
114+ files = [b"Example data " ],
115115 )
116116
117117 assert response .is_closed is True
@@ -124,7 +124,7 @@ async def test_raw_response_batch(self, async_client: AsyncDocstrange) -> None:
124124 async def test_streaming_response_batch (self , async_client : AsyncDocstrange ) -> None :
125125 async with async_client .classify .with_streaming_response .batch (
126126 categories = '[{"name": "Invoice"}, {"name": "Contract"}, {"name": "Receipt"}]' ,
127- files = [b"raw file contents " ],
127+ files = [b"Example data " ],
128128 ) as response :
129129 assert not response .is_closed
130130 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -139,7 +139,7 @@ async def test_streaming_response_batch(self, async_client: AsyncDocstrange) ->
139139 async def test_method_sync (self , async_client : AsyncDocstrange ) -> None :
140140 classify = await async_client .classify .sync (
141141 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
142- file = b"raw file contents " ,
142+ file = b"Example data " ,
143143 )
144144 assert_matches_type (ClassifyResponse , classify , path = ["response" ])
145145
@@ -148,7 +148,7 @@ async def test_method_sync(self, async_client: AsyncDocstrange) -> None:
148148 async def test_raw_response_sync (self , async_client : AsyncDocstrange ) -> None :
149149 response = await async_client .classify .with_raw_response .sync (
150150 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
151- file = b"raw file contents " ,
151+ file = b"Example data " ,
152152 )
153153
154154 assert response .is_closed is True
@@ -161,7 +161,7 @@ async def test_raw_response_sync(self, async_client: AsyncDocstrange) -> None:
161161 async def test_streaming_response_sync (self , async_client : AsyncDocstrange ) -> None :
162162 async with async_client .classify .with_streaming_response .sync (
163163 categories = '[{"name": "Invoice", "description": "Bills and invoices"}, {"name": "Contract", "description": "Legal agreements"}]' ,
164- file = b"raw file contents " ,
164+ file = b"Example data " ,
165165 ) as response :
166166 assert not response .is_closed
167167 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments