Fixes Minor Element in AnyOf Test

This commit is contained in:
2025-04-19 17:30:11 -03:00
parent 1c546d252f
commit f9f986e3c8

View File

@@ -38,7 +38,9 @@ class TestAnyOfTypeParser(TestCase):
], ],
} }
type_parsing, _ = AnyOfTypeParser().from_properties("placeholder", properties) type_parsing, _ = AnyOfTypeParser().from_properties(
"placeholder", properties, required=True
)
# check union type has string and int # check union type has string and int
self.assertEqual(get_origin(type_parsing), Union) self.assertEqual(get_origin(type_parsing), Union)