Fixes Minor Element in AnyOf Test
This commit is contained in:
@@ -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
|
||||
self.assertEqual(get_origin(type_parsing), Union)
|
||||
|
||||
Reference in New Issue
Block a user