From 293a0c5c60be59df706c2a0086942cc1870d462b Mon Sep 17 00:00:00 2001 From: "Stephen J. Fuhry" Date: Tue, 14 Mar 2023 16:45:33 -0400 Subject: [PATCH] remove test that seems to be a test for marshmallow but not for this library --- tests/test_additional_properties.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/test_additional_properties.py b/tests/test_additional_properties.py index c88c450..18bacf5 100644 --- a/tests/test_additional_properties.py +++ b/tests/test_additional_properties.py @@ -102,17 +102,3 @@ class Meta: dumped["definitions"]["TestSchema"]["additionalProperties"] == additional_properties ) - - -def test_additional_properties_unknown_invalid_value(): - class TestSchema(Schema): - class Meta: - unknown = "foo" - - foo = fields.Integer() - - schema = TestSchema() - json_schema = JSONSchema() - - with pytest.raises(UnsupportedValueError): - json_schema.dump(schema)