@@ -33,7 +33,7 @@ def test_method_convert(self, client: Lmnt, respx_mock: MockRouter) -> None:
3333 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
3434 speech = client .speech .convert (
3535 audio = b"raw file contents" ,
36- voice = "ava " ,
36+ voice = "leah " ,
3737 )
3838 assert speech .is_closed
3939 assert speech .json () == {"foo" : "bar" }
@@ -46,7 +46,7 @@ def test_method_convert_with_all_params(self, client: Lmnt, respx_mock: MockRout
4646 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
4747 speech = client .speech .convert (
4848 audio = b"raw file contents" ,
49- voice = "ava " ,
49+ voice = "leah " ,
5050 format = "aac" ,
5151 language = "auto" ,
5252 sample_rate = 8000 ,
@@ -63,7 +63,7 @@ def test_raw_response_convert(self, client: Lmnt, respx_mock: MockRouter) -> Non
6363
6464 speech = client .speech .with_raw_response .convert (
6565 audio = b"raw file contents" ,
66- voice = "ava " ,
66+ voice = "leah " ,
6767 )
6868
6969 assert speech .is_closed is True
@@ -77,7 +77,7 @@ def test_streaming_response_convert(self, client: Lmnt, respx_mock: MockRouter)
7777 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
7878 with client .speech .with_streaming_response .convert (
7979 audio = b"raw file contents" ,
80- voice = "ava " ,
80+ voice = "leah " ,
8181 ) as speech :
8282 assert not speech .is_closed
8383 assert speech .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -94,7 +94,7 @@ def test_method_generate(self, client: Lmnt, respx_mock: MockRouter) -> None:
9494 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
9595 speech = client .speech .generate (
9696 text = "hello world." ,
97- voice = "ava " ,
97+ voice = "leah " ,
9898 )
9999 assert speech .is_closed
100100 assert speech .json () == {"foo" : "bar" }
@@ -107,7 +107,7 @@ def test_method_generate_with_all_params(self, client: Lmnt, respx_mock: MockRou
107107 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
108108 speech = client .speech .generate (
109109 text = "hello world." ,
110- voice = "ava " ,
110+ voice = "leah " ,
111111 format = "aac" ,
112112 language = "auto" ,
113113 model = "blizzard" ,
@@ -128,7 +128,7 @@ def test_raw_response_generate(self, client: Lmnt, respx_mock: MockRouter) -> No
128128
129129 speech = client .speech .with_raw_response .generate (
130130 text = "hello world." ,
131- voice = "ava " ,
131+ voice = "leah " ,
132132 )
133133
134134 assert speech .is_closed is True
@@ -142,7 +142,7 @@ def test_streaming_response_generate(self, client: Lmnt, respx_mock: MockRouter)
142142 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
143143 with client .speech .with_streaming_response .generate (
144144 text = "hello world." ,
145- voice = "ava " ,
145+ voice = "leah " ,
146146 ) as speech :
147147 assert not speech .is_closed
148148 assert speech .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -157,15 +157,15 @@ def test_streaming_response_generate(self, client: Lmnt, respx_mock: MockRouter)
157157 def test_method_generate_detailed (self , client : Lmnt ) -> None :
158158 speech = client .speech .generate_detailed (
159159 text = "hello world." ,
160- voice = "ava " ,
160+ voice = "leah " ,
161161 )
162162 assert_matches_type (SpeechGenerateDetailedResponse , speech , path = ["response" ])
163163
164164 @parametrize
165165 def test_method_generate_detailed_with_all_params (self , client : Lmnt ) -> None :
166166 speech = client .speech .generate_detailed (
167167 text = "hello world." ,
168- voice = "ava " ,
168+ voice = "leah " ,
169169 format = "aac" ,
170170 language = "auto" ,
171171 model = "blizzard" ,
@@ -181,7 +181,7 @@ def test_method_generate_detailed_with_all_params(self, client: Lmnt) -> None:
181181 def test_raw_response_generate_detailed (self , client : Lmnt ) -> None :
182182 response = client .speech .with_raw_response .generate_detailed (
183183 text = "hello world." ,
184- voice = "ava " ,
184+ voice = "leah " ,
185185 )
186186
187187 assert response .is_closed is True
@@ -193,7 +193,7 @@ def test_raw_response_generate_detailed(self, client: Lmnt) -> None:
193193 def test_streaming_response_generate_detailed (self , client : Lmnt ) -> None :
194194 with client .speech .with_streaming_response .generate_detailed (
195195 text = "hello world." ,
196- voice = "ava " ,
196+ voice = "leah " ,
197197 ) as response :
198198 assert not response .is_closed
199199 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -215,7 +215,7 @@ async def test_method_convert(self, async_client: AsyncLmnt, respx_mock: MockRou
215215 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
216216 speech = await async_client .speech .convert (
217217 audio = b"raw file contents" ,
218- voice = "ava " ,
218+ voice = "leah " ,
219219 )
220220 assert speech .is_closed
221221 assert await speech .json () == {"foo" : "bar" }
@@ -228,7 +228,7 @@ async def test_method_convert_with_all_params(self, async_client: AsyncLmnt, res
228228 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
229229 speech = await async_client .speech .convert (
230230 audio = b"raw file contents" ,
231- voice = "ava " ,
231+ voice = "leah " ,
232232 format = "aac" ,
233233 language = "auto" ,
234234 sample_rate = 8000 ,
@@ -245,7 +245,7 @@ async def test_raw_response_convert(self, async_client: AsyncLmnt, respx_mock: M
245245
246246 speech = await async_client .speech .with_raw_response .convert (
247247 audio = b"raw file contents" ,
248- voice = "ava " ,
248+ voice = "leah " ,
249249 )
250250
251251 assert speech .is_closed is True
@@ -259,7 +259,7 @@ async def test_streaming_response_convert(self, async_client: AsyncLmnt, respx_m
259259 respx_mock .post ("/v1/ai/speech/convert" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
260260 async with async_client .speech .with_streaming_response .convert (
261261 audio = b"raw file contents" ,
262- voice = "ava " ,
262+ voice = "leah " ,
263263 ) as speech :
264264 assert not speech .is_closed
265265 assert speech .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -276,7 +276,7 @@ async def test_method_generate(self, async_client: AsyncLmnt, respx_mock: MockRo
276276 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
277277 speech = await async_client .speech .generate (
278278 text = "hello world." ,
279- voice = "ava " ,
279+ voice = "leah " ,
280280 )
281281 assert speech .is_closed
282282 assert await speech .json () == {"foo" : "bar" }
@@ -289,7 +289,7 @@ async def test_method_generate_with_all_params(self, async_client: AsyncLmnt, re
289289 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
290290 speech = await async_client .speech .generate (
291291 text = "hello world." ,
292- voice = "ava " ,
292+ voice = "leah " ,
293293 format = "aac" ,
294294 language = "auto" ,
295295 model = "blizzard" ,
@@ -310,7 +310,7 @@ async def test_raw_response_generate(self, async_client: AsyncLmnt, respx_mock:
310310
311311 speech = await async_client .speech .with_raw_response .generate (
312312 text = "hello world." ,
313- voice = "ava " ,
313+ voice = "leah " ,
314314 )
315315
316316 assert speech .is_closed is True
@@ -324,7 +324,7 @@ async def test_streaming_response_generate(self, async_client: AsyncLmnt, respx_
324324 respx_mock .post ("/v1/ai/speech/bytes" ).mock (return_value = httpx .Response (200 , json = {"foo" : "bar" }))
325325 async with async_client .speech .with_streaming_response .generate (
326326 text = "hello world." ,
327- voice = "ava " ,
327+ voice = "leah " ,
328328 ) as speech :
329329 assert not speech .is_closed
330330 assert speech .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -339,15 +339,15 @@ async def test_streaming_response_generate(self, async_client: AsyncLmnt, respx_
339339 async def test_method_generate_detailed (self , async_client : AsyncLmnt ) -> None :
340340 speech = await async_client .speech .generate_detailed (
341341 text = "hello world." ,
342- voice = "ava " ,
342+ voice = "leah " ,
343343 )
344344 assert_matches_type (SpeechGenerateDetailedResponse , speech , path = ["response" ])
345345
346346 @parametrize
347347 async def test_method_generate_detailed_with_all_params (self , async_client : AsyncLmnt ) -> None :
348348 speech = await async_client .speech .generate_detailed (
349349 text = "hello world." ,
350- voice = "ava " ,
350+ voice = "leah " ,
351351 format = "aac" ,
352352 language = "auto" ,
353353 model = "blizzard" ,
@@ -363,7 +363,7 @@ async def test_method_generate_detailed_with_all_params(self, async_client: Asyn
363363 async def test_raw_response_generate_detailed (self , async_client : AsyncLmnt ) -> None :
364364 response = await async_client .speech .with_raw_response .generate_detailed (
365365 text = "hello world." ,
366- voice = "ava " ,
366+ voice = "leah " ,
367367 )
368368
369369 assert response .is_closed is True
@@ -375,7 +375,7 @@ async def test_raw_response_generate_detailed(self, async_client: AsyncLmnt) ->
375375 async def test_streaming_response_generate_detailed (self , async_client : AsyncLmnt ) -> None :
376376 async with async_client .speech .with_streaming_response .generate_detailed (
377377 text = "hello world." ,
378- voice = "ava " ,
378+ voice = "leah " ,
379379 ) as response :
380380 assert not response .is_closed
381381 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments