Skip to content

Commit

Permalink
remove test that seems to be a test for marshmallow but not for this …
Browse files Browse the repository at this point in the history
…library
  • Loading branch information
fuhrysteve committed Mar 14, 2023
1 parent 1b7b05d commit 293a0c5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_additional_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 293a0c5

Please sign in to comment.