Skip to content

Commit 9aa16df

Browse files
committed
Test object with invalid additional properties fix
1 parent aa978cb commit 9aa16df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/schema/test_schemas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,7 @@ def test_object_with_invalid_properties(self, value):
922922
'somestr': Schema('string'),
923923
'someint': Schema('integer'),
924924
},
925+
additional_properties=False,
925926
)
926927

927928
with pytest.raises(Exception):

0 commit comments

Comments
 (0)