@@ -88,7 +88,7 @@ def test_streaming_response_compare(self, client: Maisa) -> None:
8888 @parametrize
8989 def test_method_extract (self , client : Maisa ) -> None :
9090 capability = client .capabilities .extract (
91- text = "Example long text... " ,
91+ text = "My name is John Doe " ,
9292 variables = {
9393 "name" : {
9494 "description" : "The name of the person." ,
@@ -101,7 +101,7 @@ def test_method_extract(self, client: Maisa) -> None:
101101 @parametrize
102102 def test_method_extract_with_all_params (self , client : Maisa ) -> None :
103103 capability = client .capabilities .extract (
104- text = "Example long text... " ,
104+ text = "My name is John Doe " ,
105105 variables = {
106106 "name" : {
107107 "description" : "The name of the person." ,
@@ -115,7 +115,7 @@ def test_method_extract_with_all_params(self, client: Maisa) -> None:
115115 @parametrize
116116 def test_raw_response_extract (self , client : Maisa ) -> None :
117117 response = client .capabilities .with_raw_response .extract (
118- text = "Example long text... " ,
118+ text = "My name is John Doe " ,
119119 variables = {
120120 "name" : {
121121 "description" : "The name of the person." ,
@@ -132,7 +132,7 @@ def test_raw_response_extract(self, client: Maisa) -> None:
132132 @parametrize
133133 def test_streaming_response_extract (self , client : Maisa ) -> None :
134134 with client .capabilities .with_streaming_response .extract (
135- text = "Example long text... " ,
135+ text = "My name is John Doe " ,
136136 variables = {
137137 "name" : {
138138 "description" : "The name of the person." ,
@@ -151,25 +151,25 @@ def test_streaming_response_extract(self, client: Maisa) -> None:
151151 @parametrize
152152 def test_method_summarize (self , client : Maisa ) -> None :
153153 capability = client .capabilities .summarize (
154- text = "Example long text... " ,
154+ text = "Lorem Ipsum dolor sit amet " ,
155155 )
156156 assert_matches_type (TextSummary , capability , path = ["response" ])
157157
158158 @parametrize
159159 def test_method_summarize_with_all_params (self , client : Maisa ) -> None :
160160 capability = client .capabilities .summarize (
161- text = "Example long text... " ,
161+ text = "Lorem Ipsum dolor sit amet " ,
162162 format = "paragraph" ,
163163 lang = "en" ,
164- length = "medium " ,
164+ length = "long " ,
165165 summary_hint = "Example summary of the text..." ,
166166 )
167167 assert_matches_type (TextSummary , capability , path = ["response" ])
168168
169169 @parametrize
170170 def test_raw_response_summarize (self , client : Maisa ) -> None :
171171 response = client .capabilities .with_raw_response .summarize (
172- text = "Example long text... " ,
172+ text = "Lorem Ipsum dolor sit amet " ,
173173 )
174174
175175 assert response .is_closed is True
@@ -180,7 +180,7 @@ def test_raw_response_summarize(self, client: Maisa) -> None:
180180 @parametrize
181181 def test_streaming_response_summarize (self , client : Maisa ) -> None :
182182 with client .capabilities .with_streaming_response .summarize (
183- text = "Example long text... " ,
183+ text = "Lorem Ipsum dolor sit amet " ,
184184 ) as response :
185185 assert not response .is_closed
186186 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -267,7 +267,7 @@ async def test_streaming_response_compare(self, async_client: AsyncMaisa) -> Non
267267 @parametrize
268268 async def test_method_extract (self , async_client : AsyncMaisa ) -> None :
269269 capability = await async_client .capabilities .extract (
270- text = "Example long text... " ,
270+ text = "My name is John Doe " ,
271271 variables = {
272272 "name" : {
273273 "description" : "The name of the person." ,
@@ -280,7 +280,7 @@ async def test_method_extract(self, async_client: AsyncMaisa) -> None:
280280 @parametrize
281281 async def test_method_extract_with_all_params (self , async_client : AsyncMaisa ) -> None :
282282 capability = await async_client .capabilities .extract (
283- text = "Example long text... " ,
283+ text = "My name is John Doe " ,
284284 variables = {
285285 "name" : {
286286 "description" : "The name of the person." ,
@@ -294,7 +294,7 @@ async def test_method_extract_with_all_params(self, async_client: AsyncMaisa) ->
294294 @parametrize
295295 async def test_raw_response_extract (self , async_client : AsyncMaisa ) -> None :
296296 response = await async_client .capabilities .with_raw_response .extract (
297- text = "Example long text... " ,
297+ text = "My name is John Doe " ,
298298 variables = {
299299 "name" : {
300300 "description" : "The name of the person." ,
@@ -311,7 +311,7 @@ async def test_raw_response_extract(self, async_client: AsyncMaisa) -> None:
311311 @parametrize
312312 async def test_streaming_response_extract (self , async_client : AsyncMaisa ) -> None :
313313 async with async_client .capabilities .with_streaming_response .extract (
314- text = "Example long text... " ,
314+ text = "My name is John Doe " ,
315315 variables = {
316316 "name" : {
317317 "description" : "The name of the person." ,
@@ -330,25 +330,25 @@ async def test_streaming_response_extract(self, async_client: AsyncMaisa) -> Non
330330 @parametrize
331331 async def test_method_summarize (self , async_client : AsyncMaisa ) -> None :
332332 capability = await async_client .capabilities .summarize (
333- text = "Example long text... " ,
333+ text = "Lorem Ipsum dolor sit amet " ,
334334 )
335335 assert_matches_type (TextSummary , capability , path = ["response" ])
336336
337337 @parametrize
338338 async def test_method_summarize_with_all_params (self , async_client : AsyncMaisa ) -> None :
339339 capability = await async_client .capabilities .summarize (
340- text = "Example long text... " ,
340+ text = "Lorem Ipsum dolor sit amet " ,
341341 format = "paragraph" ,
342342 lang = "en" ,
343- length = "medium " ,
343+ length = "long " ,
344344 summary_hint = "Example summary of the text..." ,
345345 )
346346 assert_matches_type (TextSummary , capability , path = ["response" ])
347347
348348 @parametrize
349349 async def test_raw_response_summarize (self , async_client : AsyncMaisa ) -> None :
350350 response = await async_client .capabilities .with_raw_response .summarize (
351- text = "Example long text... " ,
351+ text = "Lorem Ipsum dolor sit amet " ,
352352 )
353353
354354 assert response .is_closed is True
@@ -359,7 +359,7 @@ async def test_raw_response_summarize(self, async_client: AsyncMaisa) -> None:
359359 @parametrize
360360 async def test_streaming_response_summarize (self , async_client : AsyncMaisa ) -> None :
361361 async with async_client .capabilities .with_streaming_response .summarize (
362- text = "Example long text... " ,
362+ text = "Lorem Ipsum dolor sit amet " ,
363363 ) as response :
364364 assert not response .is_closed
365365 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments