Skip to content

Commit c9dd81c

Browse files
chore(tests): improve enum examples (#2286)
1 parent 746174f commit c9dd81c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: tests/api_resources/test_images.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_method_create_variation_with_all_params(self, client: OpenAI) -> None:
3131
model="dall-e-2",
3232
n=1,
3333
response_format="url",
34-
size="256x256",
34+
size="1024x1024",
3535
user="user-1234",
3636
)
3737
assert_matches_type(ImagesResponse, image, path=["response"])
@@ -77,7 +77,7 @@ def test_method_edit_with_all_params(self, client: OpenAI) -> None:
7777
model="dall-e-2",
7878
n=1,
7979
response_format="url",
80-
size="256x256",
80+
size="1024x1024",
8181
user="user-1234",
8282
)
8383
assert_matches_type(ImagesResponse, image, path=["response"])
@@ -123,7 +123,7 @@ def test_method_generate_with_all_params(self, client: OpenAI) -> None:
123123
n=1,
124124
quality="standard",
125125
response_format="url",
126-
size="256x256",
126+
size="1024x1024",
127127
style="vivid",
128128
user="user-1234",
129129
)
@@ -171,7 +171,7 @@ async def test_method_create_variation_with_all_params(self, async_client: Async
171171
model="dall-e-2",
172172
n=1,
173173
response_format="url",
174-
size="256x256",
174+
size="1024x1024",
175175
user="user-1234",
176176
)
177177
assert_matches_type(ImagesResponse, image, path=["response"])
@@ -217,7 +217,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncOpenAI) -> N
217217
model="dall-e-2",
218218
n=1,
219219
response_format="url",
220-
size="256x256",
220+
size="1024x1024",
221221
user="user-1234",
222222
)
223223
assert_matches_type(ImagesResponse, image, path=["response"])
@@ -263,7 +263,7 @@ async def test_method_generate_with_all_params(self, async_client: AsyncOpenAI)
263263
n=1,
264264
quality="standard",
265265
response_format="url",
266-
size="256x256",
266+
size="1024x1024",
267267
style="vivid",
268268
user="user-1234",
269269
)

0 commit comments

Comments
 (0)