@@ -259,15 +259,26 @@ def test_path_params_update_overload_2(self, client: Codex) -> None:
259259 @parametrize
260260 def test_method_list (self , client : Codex ) -> None :
261261 eval = client .projects .evals .list (
262- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
262+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
263+ )
264+ assert_matches_type (EvalListResponse , eval , path = ["response" ])
265+
266+ @pytest .mark .skip ()
267+ @parametrize
268+ def test_method_list_with_all_params (self , client : Codex ) -> None :
269+ eval = client .projects .evals .list (
270+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
271+ guardrails_only = True ,
272+ limit = 1 ,
273+ offset = 0 ,
263274 )
264275 assert_matches_type (EvalListResponse , eval , path = ["response" ])
265276
266277 @pytest .mark .skip ()
267278 @parametrize
268279 def test_raw_response_list (self , client : Codex ) -> None :
269280 response = client .projects .evals .with_raw_response .list (
270- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
281+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
271282 )
272283
273284 assert response .is_closed is True
@@ -279,7 +290,7 @@ def test_raw_response_list(self, client: Codex) -> None:
279290 @parametrize
280291 def test_streaming_response_list (self , client : Codex ) -> None :
281292 with client .projects .evals .with_streaming_response .list (
282- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
293+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
283294 ) as response :
284295 assert not response .is_closed
285296 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -294,7 +305,7 @@ def test_streaming_response_list(self, client: Codex) -> None:
294305 def test_path_params_list (self , client : Codex ) -> None :
295306 with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
296307 client .projects .evals .with_raw_response .list (
297- "" ,
308+ project_id = "" ,
298309 )
299310
300311 @pytest .mark .skip ()
@@ -596,15 +607,26 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCodex) ->
596607 @parametrize
597608 async def test_method_list (self , async_client : AsyncCodex ) -> None :
598609 eval = await async_client .projects .evals .list (
599- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
610+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
611+ )
612+ assert_matches_type (EvalListResponse , eval , path = ["response" ])
613+
614+ @pytest .mark .skip ()
615+ @parametrize
616+ async def test_method_list_with_all_params (self , async_client : AsyncCodex ) -> None :
617+ eval = await async_client .projects .evals .list (
618+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
619+ guardrails_only = True ,
620+ limit = 1 ,
621+ offset = 0 ,
600622 )
601623 assert_matches_type (EvalListResponse , eval , path = ["response" ])
602624
603625 @pytest .mark .skip ()
604626 @parametrize
605627 async def test_raw_response_list (self , async_client : AsyncCodex ) -> None :
606628 response = await async_client .projects .evals .with_raw_response .list (
607- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
629+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
608630 )
609631
610632 assert response .is_closed is True
@@ -616,7 +638,7 @@ async def test_raw_response_list(self, async_client: AsyncCodex) -> None:
616638 @parametrize
617639 async def test_streaming_response_list (self , async_client : AsyncCodex ) -> None :
618640 async with async_client .projects .evals .with_streaming_response .list (
619- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
641+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
620642 ) as response :
621643 assert not response .is_closed
622644 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -631,7 +653,7 @@ async def test_streaming_response_list(self, async_client: AsyncCodex) -> None:
631653 async def test_path_params_list (self , async_client : AsyncCodex ) -> None :
632654 with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
633655 await async_client .projects .evals .with_raw_response .list (
634- "" ,
656+ project_id = "" ,
635657 )
636658
637659 @pytest .mark .skip ()
0 commit comments