@@ -729,7 +729,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
729729 with pytest .raises (APITimeoutError ):
730730 self .client .post (
731731 "/status/get-status" ,
732- body = cast (object , maybe_transform (dict () , StatusGetStatusParams )),
732+ body = cast (object , maybe_transform ({} , StatusGetStatusParams )),
733733 cast_to = httpx .Response ,
734734 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
735735 )
@@ -744,7 +744,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
744744 with pytest .raises (APIStatusError ):
745745 self .client .post (
746746 "/status/get-status" ,
747- body = cast (object , maybe_transform (dict () , StatusGetStatusParams )),
747+ body = cast (object , maybe_transform ({} , StatusGetStatusParams )),
748748 cast_to = httpx .Response ,
749749 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
750750 )
@@ -1505,7 +1505,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
15051505 with pytest .raises (APITimeoutError ):
15061506 await self .client .post (
15071507 "/status/get-status" ,
1508- body = cast (object , maybe_transform (dict () , StatusGetStatusParams )),
1508+ body = cast (object , maybe_transform ({} , StatusGetStatusParams )),
15091509 cast_to = httpx .Response ,
15101510 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
15111511 )
@@ -1520,7 +1520,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
15201520 with pytest .raises (APIStatusError ):
15211521 await self .client .post (
15221522 "/status/get-status" ,
1523- body = cast (object , maybe_transform (dict () , StatusGetStatusParams )),
1523+ body = cast (object , maybe_transform ({} , StatusGetStatusParams )),
15241524 cast_to = httpx .Response ,
15251525 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
15261526 )
0 commit comments