Generate a seemingly correct schema for JSON models
This commit is contained in:
parent
9a47d1046d
commit
976fdf3ad4
3 changed files with 384 additions and 121 deletions
|
|
@ -74,7 +74,7 @@ def members():
|
|||
|
||||
|
||||
def test_validates_required_fields():
|
||||
# Raises ValidationError: last_name, address are required
|
||||
# Raises ValidationError: last_name is required
|
||||
with pytest.raises(ValidationError):
|
||||
Member(
|
||||
first_name="Andrew",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue