Test object with invalid additional properties fix

This commit is contained in:
Artur Maciag 2019-03-22 13:44:05 +00:00
parent aa978cbe00
commit 9aa16dff0f

View file

@ -922,6 +922,7 @@ class TestSchemaValidate(object):
'somestr': Schema('string'),
'someint': Schema('integer'),
},
additional_properties=False,
)
with pytest.raises(Exception):