@@ -723,7 +723,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
723723 with pytest .raises (APITimeoutError ):
724724 self .client .post (
725725 "/v1/sessions" ,
726- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
726+ body = cast (object , dict (project_id = "your_project_id" )),
727727 cast_to = httpx .Response ,
728728 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
729729 )
@@ -738,7 +738,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
738738 with pytest .raises (APIStatusError ):
739739 self .client .post (
740740 "/v1/sessions" ,
741- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
741+ body = cast (object , dict (project_id = "your_project_id" )),
742742 cast_to = httpx .Response ,
743743 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
744744 )
@@ -1503,7 +1503,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
15031503 with pytest .raises (APITimeoutError ):
15041504 await self .client .post (
15051505 "/v1/sessions" ,
1506- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
1506+ body = cast (object , dict (project_id = "your_project_id" )),
15071507 cast_to = httpx .Response ,
15081508 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
15091509 )
@@ -1518,7 +1518,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
15181518 with pytest .raises (APIStatusError ):
15191519 await self .client .post (
15201520 "/v1/sessions" ,
1521- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
1521+ body = cast (object , dict (project_id = "your_project_id" )),
15221522 cast_to = httpx .Response ,
15231523 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
15241524 )
0 commit comments