mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-22 19:18:36 +00:00
Test object with invalid additional properties fix
This commit is contained in:
parent
aa978cbe00
commit
9aa16dff0f
1 changed files with 1 additions and 0 deletions
|
@ -922,6 +922,7 @@ class TestSchemaValidate(object):
|
|||
'somestr': Schema('string'),
|
||||
'someint': Schema('integer'),
|
||||
},
|
||||
additional_properties=False,
|
||||
)
|
||||
|
||||
with pytest.raises(Exception):
|
||||
|
|
Loading…
Reference in a new issue