@@ -723,7 +723,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
723
723
with pytest .raises (APITimeoutError ):
724
724
self .client .post (
725
725
"/v1/sessions" ,
726
- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
726
+ body = cast (object , dict (project_id = "your_project_id" )),
727
727
cast_to = httpx .Response ,
728
728
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
729
729
)
@@ -738,7 +738,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
738
738
with pytest .raises (APIStatusError ):
739
739
self .client .post (
740
740
"/v1/sessions" ,
741
- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
741
+ body = cast (object , dict (project_id = "your_project_id" )),
742
742
cast_to = httpx .Response ,
743
743
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
744
744
)
@@ -1503,7 +1503,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
1503
1503
with pytest .raises (APITimeoutError ):
1504
1504
await self .client .post (
1505
1505
"/v1/sessions" ,
1506
- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
1506
+ body = cast (object , dict (project_id = "your_project_id" )),
1507
1507
cast_to = httpx .Response ,
1508
1508
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
1509
1509
)
@@ -1518,7 +1518,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
1518
1518
with pytest .raises (APIStatusError ):
1519
1519
await self .client .post (
1520
1520
"/v1/sessions" ,
1521
- body = cast (object , dict (project_id = "your_project_id" , proxies = True )),
1521
+ body = cast (object , dict (project_id = "your_project_id" )),
1522
1522
cast_to = httpx .Response ,
1523
1523
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
1524
1524
)
0 commit comments