@@ -25,14 +25,14 @@ class TestProfiles:
2525 @parametrize
2626 def test_method_create (self , client : Steel ) -> None :
2727 profile = client .profiles .create (
28- user_data_dir = b"raw file contents " ,
28+ user_data_dir = b"Example data " ,
2929 )
3030 assert_matches_type (ProfileCreateResponse , profile , path = ["response" ])
3131
3232 @parametrize
3333 def test_method_create_with_all_params (self , client : Steel ) -> None :
3434 profile = client .profiles .create (
35- user_data_dir = b"raw file contents " ,
35+ user_data_dir = b"Example data " ,
3636 dimensions = {
3737 "height" : 0 ,
3838 "width" : 0 ,
@@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Steel) -> None:
4545 @parametrize
4646 def test_raw_response_create (self , client : Steel ) -> None :
4747 response = client .profiles .with_raw_response .create (
48- user_data_dir = b"raw file contents " ,
48+ user_data_dir = b"Example data " ,
4949 )
5050
5151 assert response .is_closed is True
@@ -56,7 +56,7 @@ def test_raw_response_create(self, client: Steel) -> None:
5656 @parametrize
5757 def test_streaming_response_create (self , client : Steel ) -> None :
5858 with client .profiles .with_streaming_response .create (
59- user_data_dir = b"raw file contents " ,
59+ user_data_dir = b"Example data " ,
6060 ) as response :
6161 assert not response .is_closed
6262 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -70,15 +70,15 @@ def test_streaming_response_create(self, client: Steel) -> None:
7070 def test_method_update (self , client : Steel ) -> None :
7171 profile = client .profiles .update (
7272 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
73- user_data_dir = b"raw file contents " ,
73+ user_data_dir = b"Example data " ,
7474 )
7575 assert_matches_type (ProfileUpdateResponse , profile , path = ["response" ])
7676
7777 @parametrize
7878 def test_method_update_with_all_params (self , client : Steel ) -> None :
7979 profile = client .profiles .update (
8080 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
81- user_data_dir = b"raw file contents " ,
81+ user_data_dir = b"Example data " ,
8282 dimensions = {
8383 "height" : 0 ,
8484 "width" : 0 ,
@@ -92,7 +92,7 @@ def test_method_update_with_all_params(self, client: Steel) -> None:
9292 def test_raw_response_update (self , client : Steel ) -> None :
9393 response = client .profiles .with_raw_response .update (
9494 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
95- user_data_dir = b"raw file contents " ,
95+ user_data_dir = b"Example data " ,
9696 )
9797
9898 assert response .is_closed is True
@@ -104,7 +104,7 @@ def test_raw_response_update(self, client: Steel) -> None:
104104 def test_streaming_response_update (self , client : Steel ) -> None :
105105 with client .profiles .with_streaming_response .update (
106106 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
107- user_data_dir = b"raw file contents " ,
107+ user_data_dir = b"Example data " ,
108108 ) as response :
109109 assert not response .is_closed
110110 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -119,7 +119,7 @@ def test_path_params_update(self, client: Steel) -> None:
119119 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
120120 client .profiles .with_raw_response .update (
121121 id = "" ,
122- user_data_dir = b"raw file contents " ,
122+ user_data_dir = b"Example data " ,
123123 )
124124
125125 @parametrize
@@ -194,14 +194,14 @@ class TestAsyncProfiles:
194194 @parametrize
195195 async def test_method_create (self , async_client : AsyncSteel ) -> None :
196196 profile = await async_client .profiles .create (
197- user_data_dir = b"raw file contents " ,
197+ user_data_dir = b"Example data " ,
198198 )
199199 assert_matches_type (ProfileCreateResponse , profile , path = ["response" ])
200200
201201 @parametrize
202202 async def test_method_create_with_all_params (self , async_client : AsyncSteel ) -> None :
203203 profile = await async_client .profiles .create (
204- user_data_dir = b"raw file contents " ,
204+ user_data_dir = b"Example data " ,
205205 dimensions = {
206206 "height" : 0 ,
207207 "width" : 0 ,
@@ -214,7 +214,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncSteel) ->
214214 @parametrize
215215 async def test_raw_response_create (self , async_client : AsyncSteel ) -> None :
216216 response = await async_client .profiles .with_raw_response .create (
217- user_data_dir = b"raw file contents " ,
217+ user_data_dir = b"Example data " ,
218218 )
219219
220220 assert response .is_closed is True
@@ -225,7 +225,7 @@ async def test_raw_response_create(self, async_client: AsyncSteel) -> None:
225225 @parametrize
226226 async def test_streaming_response_create (self , async_client : AsyncSteel ) -> None :
227227 async with async_client .profiles .with_streaming_response .create (
228- user_data_dir = b"raw file contents " ,
228+ user_data_dir = b"Example data " ,
229229 ) as response :
230230 assert not response .is_closed
231231 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -239,15 +239,15 @@ async def test_streaming_response_create(self, async_client: AsyncSteel) -> None
239239 async def test_method_update (self , async_client : AsyncSteel ) -> None :
240240 profile = await async_client .profiles .update (
241241 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
242- user_data_dir = b"raw file contents " ,
242+ user_data_dir = b"Example data " ,
243243 )
244244 assert_matches_type (ProfileUpdateResponse , profile , path = ["response" ])
245245
246246 @parametrize
247247 async def test_method_update_with_all_params (self , async_client : AsyncSteel ) -> None :
248248 profile = await async_client .profiles .update (
249249 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
250- user_data_dir = b"raw file contents " ,
250+ user_data_dir = b"Example data " ,
251251 dimensions = {
252252 "height" : 0 ,
253253 "width" : 0 ,
@@ -261,7 +261,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncSteel) ->
261261 async def test_raw_response_update (self , async_client : AsyncSteel ) -> None :
262262 response = await async_client .profiles .with_raw_response .update (
263263 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
264- user_data_dir = b"raw file contents " ,
264+ user_data_dir = b"Example data " ,
265265 )
266266
267267 assert response .is_closed is True
@@ -273,7 +273,7 @@ async def test_raw_response_update(self, async_client: AsyncSteel) -> None:
273273 async def test_streaming_response_update (self , async_client : AsyncSteel ) -> None :
274274 async with async_client .profiles .with_streaming_response .update (
275275 id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
276- user_data_dir = b"raw file contents " ,
276+ user_data_dir = b"Example data " ,
277277 ) as response :
278278 assert not response .is_closed
279279 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -288,7 +288,7 @@ async def test_path_params_update(self, async_client: AsyncSteel) -> None:
288288 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
289289 await async_client .profiles .with_raw_response .update (
290290 id = "" ,
291- user_data_dir = b"raw file contents " ,
291+ user_data_dir = b"Example data " ,
292292 )
293293
294294 @parametrize
0 commit comments