Skip to content

Commit dc358d1

Browse files
chore(tests): improve enum examples (#151)
1 parent b95d415 commit dc358d1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/api_resources/generations/test_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_method_create(self, client: LumaAI) -> None:
2525
@parametrize
2626
def test_method_create_with_all_params(self, client: LumaAI) -> None:
2727
image = client.generations.image.create(
28-
aspect_ratio="1:1",
28+
aspect_ratio="16:9",
2929
callback_url="https://example.com",
3030
character_ref={"identity0": {"images": ["https://example.com"]}},
3131
generation_type="image",
@@ -82,7 +82,7 @@ async def test_method_create(self, async_client: AsyncLumaAI) -> None:
8282
@parametrize
8383
async def test_method_create_with_all_params(self, async_client: AsyncLumaAI) -> None:
8484
image = await async_client.generations.image.create(
85-
aspect_ratio="1:1",
85+
aspect_ratio="16:9",
8686
callback_url="https://example.com",
8787
character_ref={"identity0": {"images": ["https://example.com"]}},
8888
generation_type="image",

tests/api_resources/generations/test_video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_method_create(self, client: LumaAI) -> None:
2525
@parametrize
2626
def test_method_create_with_all_params(self, client: LumaAI) -> None:
2727
video = client.generations.video.create(
28-
aspect_ratio="1:1",
28+
aspect_ratio="16:9",
2929
callback_url="https://example.com",
3030
duration="5s",
3131
generation_type="video",
@@ -78,7 +78,7 @@ async def test_method_create(self, async_client: AsyncLumaAI) -> None:
7878
@parametrize
7979
async def test_method_create_with_all_params(self, async_client: AsyncLumaAI) -> None:
8080
video = await async_client.generations.video.create(
81-
aspect_ratio="1:1",
81+
aspect_ratio="16:9",
8282
callback_url="https://example.com",
8383
duration="5s",
8484
generation_type="video",

tests/api_resources/test_generations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_method_create(self, client: LumaAI) -> None:
2828
@parametrize
2929
def test_method_create_with_all_params(self, client: LumaAI) -> None:
3030
generation = client.generations.create(
31-
aspect_ratio="1:1",
31+
aspect_ratio="16:9",
3232
callback_url="https://example.com",
3333
duration="5s",
3434
generation_type="video",
@@ -287,7 +287,7 @@ async def test_method_create(self, async_client: AsyncLumaAI) -> None:
287287
@parametrize
288288
async def test_method_create_with_all_params(self, async_client: AsyncLumaAI) -> None:
289289
generation = await async_client.generations.create(
290-
aspect_ratio="1:1",
290+
aspect_ratio="16:9",
291291
callback_url="https://example.com",
292292
duration="5s",
293293
generation_type="video",

0 commit comments

Comments
 (0)