@@ -744,7 +744,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
744
744
with pytest .raises (APITimeoutError ):
745
745
self .client .post (
746
746
"/gitpod.v1.IdentityService/GetAuthenticatedIdentity" ,
747
- body = cast (object , maybe_transform (dict () , IdentityGetAuthenticatedIdentityParams )),
747
+ body = cast (object , maybe_transform ({} , IdentityGetAuthenticatedIdentityParams )),
748
748
cast_to = httpx .Response ,
749
749
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
750
750
)
@@ -759,7 +759,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
759
759
with pytest .raises (APIStatusError ):
760
760
self .client .post (
761
761
"/gitpod.v1.IdentityService/GetAuthenticatedIdentity" ,
762
- body = cast (object , maybe_transform (dict () , IdentityGetAuthenticatedIdentityParams )),
762
+ body = cast (object , maybe_transform ({} , IdentityGetAuthenticatedIdentityParams )),
763
763
cast_to = httpx .Response ,
764
764
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
765
765
)
@@ -1544,7 +1544,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
1544
1544
with pytest .raises (APITimeoutError ):
1545
1545
await self .client .post (
1546
1546
"/gitpod.v1.IdentityService/GetAuthenticatedIdentity" ,
1547
- body = cast (object , maybe_transform (dict () , IdentityGetAuthenticatedIdentityParams )),
1547
+ body = cast (object , maybe_transform ({} , IdentityGetAuthenticatedIdentityParams )),
1548
1548
cast_to = httpx .Response ,
1549
1549
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
1550
1550
)
@@ -1559,7 +1559,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
1559
1559
with pytest .raises (APIStatusError ):
1560
1560
await self .client .post (
1561
1561
"/gitpod.v1.IdentityService/GetAuthenticatedIdentity" ,
1562
- body = cast (object , maybe_transform (dict () , IdentityGetAuthenticatedIdentityParams )),
1562
+ body = cast (object , maybe_transform ({} , IdentityGetAuthenticatedIdentityParams )),
1563
1563
cast_to = httpx .Response ,
1564
1564
options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
1565
1565
)
0 commit comments