Skip to content

Commit a395ad6

Browse files
committed
update python pydantic aiohttp tests
1 parent 522f1b7 commit a395ad6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

samples/openapi3/client/petstore/python-pydantic-v1-aiohttp/test/test_enum_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ def make_instance(self, include_optional) -> EnumTest:
4343
enum_number = 1.1,
4444
enum_number_vendor_ext = 42,
4545
enum_string_vendor_ext = 'FOO',
46+
enum_string_single_member = 'abc',
47+
enum_integer_single_member = 100,
4648
outer_enum = 'placed',
4749
outer_enum_integer = 2,
4850
outer_enum_default_value = 'placed',

samples/openapi3/client/petstore/python-pydantic-v1-aiohttp/test/test_fake_api.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,13 @@ async def test_test_string_map_reference(self) -> None:
267267
"""
268268
pass
269269

270+
async def test_upload_file_with_additional_properties(self) -> None:
271+
"""Test case for upload_file_with_additional_properties
272+
273+
uploads a file and additional properties using multipart/form-data # noqa: E501
274+
"""
275+
pass
276+
270277

271278
if __name__ == '__main__':
272279
unittest.main()

0 commit comments

Comments
 (0)