Skip to content

Commit 848b053

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: f00e159
1 parent bdaf344 commit 848b053

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/api_resources/test_named_transformations.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TestNamedTransformations:
2525
def test_method_create(self, client: ImageKit) -> None:
2626
named_transformation = client.named_transformations.create(
2727
name="small_thumbnail",
28-
transformation="w-150,h-150,fo-center,cm-resize",
28+
transformation="w-150,h-150,fo-center,cm-pad_resize",
2929
)
3030
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
3131

@@ -34,7 +34,7 @@ def test_method_create(self, client: ImageKit) -> None:
3434
def test_method_create_with_all_params(self, client: ImageKit) -> None:
3535
named_transformation = client.named_transformations.create(
3636
name="small_thumbnail",
37-
transformation="w-150,h-150,fo-center,cm-resize",
37+
transformation="w-150,h-150,fo-center,cm-pad_resize",
3838
enabled=True,
3939
)
4040
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
@@ -44,7 +44,7 @@ def test_method_create_with_all_params(self, client: ImageKit) -> None:
4444
def test_raw_response_create(self, client: ImageKit) -> None:
4545
response = client.named_transformations.with_raw_response.create(
4646
name="small_thumbnail",
47-
transformation="w-150,h-150,fo-center,cm-resize",
47+
transformation="w-150,h-150,fo-center,cm-pad_resize",
4848
)
4949

5050
assert response.is_closed is True
@@ -57,7 +57,7 @@ def test_raw_response_create(self, client: ImageKit) -> None:
5757
def test_streaming_response_create(self, client: ImageKit) -> None:
5858
with client.named_transformations.with_streaming_response.create(
5959
name="small_thumbnail",
60-
transformation="w-150,h-150,fo-center,cm-resize",
60+
transformation="w-150,h-150,fo-center,cm-pad_resize",
6161
) as response:
6262
assert not response.is_closed
6363
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -82,7 +82,7 @@ def test_method_update_with_all_params(self, client: ImageKit) -> None:
8282
id="6bZ9x2ZUx",
8383
enabled=False,
8484
name="small_thumbnail",
85-
transformation="w-200,h-200,fo-center,cm-resize",
85+
transformation="w-200,h-200,fo-center,cm-pad_resize",
8686
)
8787
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
8888

@@ -243,7 +243,7 @@ class TestAsyncNamedTransformations:
243243
async def test_method_create(self, async_client: AsyncImageKit) -> None:
244244
named_transformation = await async_client.named_transformations.create(
245245
name="small_thumbnail",
246-
transformation="w-150,h-150,fo-center,cm-resize",
246+
transformation="w-150,h-150,fo-center,cm-pad_resize",
247247
)
248248
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
249249

@@ -252,7 +252,7 @@ async def test_method_create(self, async_client: AsyncImageKit) -> None:
252252
async def test_method_create_with_all_params(self, async_client: AsyncImageKit) -> None:
253253
named_transformation = await async_client.named_transformations.create(
254254
name="small_thumbnail",
255-
transformation="w-150,h-150,fo-center,cm-resize",
255+
transformation="w-150,h-150,fo-center,cm-pad_resize",
256256
enabled=True,
257257
)
258258
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
@@ -262,7 +262,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncImageKit)
262262
async def test_raw_response_create(self, async_client: AsyncImageKit) -> None:
263263
response = await async_client.named_transformations.with_raw_response.create(
264264
name="small_thumbnail",
265-
transformation="w-150,h-150,fo-center,cm-resize",
265+
transformation="w-150,h-150,fo-center,cm-pad_resize",
266266
)
267267

268268
assert response.is_closed is True
@@ -275,7 +275,7 @@ async def test_raw_response_create(self, async_client: AsyncImageKit) -> None:
275275
async def test_streaming_response_create(self, async_client: AsyncImageKit) -> None:
276276
async with async_client.named_transformations.with_streaming_response.create(
277277
name="small_thumbnail",
278-
transformation="w-150,h-150,fo-center,cm-resize",
278+
transformation="w-150,h-150,fo-center,cm-pad_resize",
279279
) as response:
280280
assert not response.is_closed
281281
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -300,7 +300,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncImageKit)
300300
id="6bZ9x2ZUx",
301301
enabled=False,
302302
name="small_thumbnail",
303-
transformation="w-200,h-200,fo-center,cm-resize",
303+
transformation="w-200,h-200,fo-center,cm-pad_resize",
304304
)
305305
assert_matches_type(NamedTransformation, named_transformation, path=["response"])
306306

0 commit comments

Comments
 (0)