@@ -181,22 +181,14 @@ def test_path_params_execute_sync(self, client: Runloop) -> None:
181181 @parametrize
182182 def test_method_read_file (self , client : Runloop ) -> None :
183183 devbox = client .devboxes .read_file (
184- id = "id" ,
185- )
186- assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
187-
188- @parametrize
189- def test_method_read_file_with_all_params (self , client : Runloop ) -> None :
190- devbox = client .devboxes .read_file (
191- id = "id" ,
192- file_path = "file_path" ,
184+ "id" ,
193185 )
194186 assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
195187
196188 @parametrize
197189 def test_raw_response_read_file (self , client : Runloop ) -> None :
198190 response = client .devboxes .with_raw_response .read_file (
199- id = "id" ,
191+ "id" ,
200192 )
201193
202194 assert response .is_closed is True
@@ -207,7 +199,7 @@ def test_raw_response_read_file(self, client: Runloop) -> None:
207199 @parametrize
208200 def test_streaming_response_read_file (self , client : Runloop ) -> None :
209201 with client .devboxes .with_streaming_response .read_file (
210- id = "id" ,
202+ "id" ,
211203 ) as response :
212204 assert not response .is_closed
213205 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -221,7 +213,7 @@ def test_streaming_response_read_file(self, client: Runloop) -> None:
221213 def test_path_params_read_file (self , client : Runloop ) -> None :
222214 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
223215 client .devboxes .with_raw_response .read_file (
224- id = "" ,
216+ "" ,
225217 )
226218
227219 @parametrize
@@ -265,23 +257,14 @@ def test_path_params_shutdown(self, client: Runloop) -> None:
265257 @parametrize
266258 def test_method_write_file (self , client : Runloop ) -> None :
267259 devbox = client .devboxes .write_file (
268- id = "id" ,
269- )
270- assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
271-
272- @parametrize
273- def test_method_write_file_with_all_params (self , client : Runloop ) -> None :
274- devbox = client .devboxes .write_file (
275- id = "id" ,
276- contents = "contents" ,
277- file_path = "file_path" ,
260+ "id" ,
278261 )
279262 assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
280263
281264 @parametrize
282265 def test_raw_response_write_file (self , client : Runloop ) -> None :
283266 response = client .devboxes .with_raw_response .write_file (
284- id = "id" ,
267+ "id" ,
285268 )
286269
287270 assert response .is_closed is True
@@ -292,7 +275,7 @@ def test_raw_response_write_file(self, client: Runloop) -> None:
292275 @parametrize
293276 def test_streaming_response_write_file (self , client : Runloop ) -> None :
294277 with client .devboxes .with_streaming_response .write_file (
295- id = "id" ,
278+ "id" ,
296279 ) as response :
297280 assert not response .is_closed
298281 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -306,7 +289,7 @@ def test_streaming_response_write_file(self, client: Runloop) -> None:
306289 def test_path_params_write_file (self , client : Runloop ) -> None :
307290 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
308291 client .devboxes .with_raw_response .write_file (
309- id = "" ,
292+ "" ,
310293 )
311294
312295
@@ -473,22 +456,14 @@ async def test_path_params_execute_sync(self, async_client: AsyncRunloop) -> Non
473456 @parametrize
474457 async def test_method_read_file (self , async_client : AsyncRunloop ) -> None :
475458 devbox = await async_client .devboxes .read_file (
476- id = "id" ,
477- )
478- assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
479-
480- @parametrize
481- async def test_method_read_file_with_all_params (self , async_client : AsyncRunloop ) -> None :
482- devbox = await async_client .devboxes .read_file (
483- id = "id" ,
484- file_path = "file_path" ,
459+ "id" ,
485460 )
486461 assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
487462
488463 @parametrize
489464 async def test_raw_response_read_file (self , async_client : AsyncRunloop ) -> None :
490465 response = await async_client .devboxes .with_raw_response .read_file (
491- id = "id" ,
466+ "id" ,
492467 )
493468
494469 assert response .is_closed is True
@@ -499,7 +474,7 @@ async def test_raw_response_read_file(self, async_client: AsyncRunloop) -> None:
499474 @parametrize
500475 async def test_streaming_response_read_file (self , async_client : AsyncRunloop ) -> None :
501476 async with async_client .devboxes .with_streaming_response .read_file (
502- id = "id" ,
477+ "id" ,
503478 ) as response :
504479 assert not response .is_closed
505480 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -513,7 +488,7 @@ async def test_streaming_response_read_file(self, async_client: AsyncRunloop) ->
513488 async def test_path_params_read_file (self , async_client : AsyncRunloop ) -> None :
514489 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
515490 await async_client .devboxes .with_raw_response .read_file (
516- id = "" ,
491+ "" ,
517492 )
518493
519494 @parametrize
@@ -557,23 +532,14 @@ async def test_path_params_shutdown(self, async_client: AsyncRunloop) -> None:
557532 @parametrize
558533 async def test_method_write_file (self , async_client : AsyncRunloop ) -> None :
559534 devbox = await async_client .devboxes .write_file (
560- id = "id" ,
561- )
562- assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
563-
564- @parametrize
565- async def test_method_write_file_with_all_params (self , async_client : AsyncRunloop ) -> None :
566- devbox = await async_client .devboxes .write_file (
567- id = "id" ,
568- contents = "contents" ,
569- file_path = "file_path" ,
535+ "id" ,
570536 )
571537 assert_matches_type (DevboxExecutionDetailView , devbox , path = ["response" ])
572538
573539 @parametrize
574540 async def test_raw_response_write_file (self , async_client : AsyncRunloop ) -> None :
575541 response = await async_client .devboxes .with_raw_response .write_file (
576- id = "id" ,
542+ "id" ,
577543 )
578544
579545 assert response .is_closed is True
@@ -584,7 +550,7 @@ async def test_raw_response_write_file(self, async_client: AsyncRunloop) -> None
584550 @parametrize
585551 async def test_streaming_response_write_file (self , async_client : AsyncRunloop ) -> None :
586552 async with async_client .devboxes .with_streaming_response .write_file (
587- id = "id" ,
553+ "id" ,
588554 ) as response :
589555 assert not response .is_closed
590556 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -598,5 +564,5 @@ async def test_streaming_response_write_file(self, async_client: AsyncRunloop) -
598564 async def test_path_params_write_file (self , async_client : AsyncRunloop ) -> None :
599565 with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
600566 await async_client .devboxes .with_raw_response .write_file (
601- id = "" ,
567+ "" ,
602568 )
0 commit comments