Skip to content

Commit 2a26746

Browse files
committed
✨ fixes tests
1 parent c7eb804 commit 2a26746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_fhirabstractmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_required_fields(self) -> typing.List[typing.Tuple[str, str]]:
7979
with pytest.raises(ValidationError) as exception_info:
8080
MyPrimitivesValueFieldsModel(postCode=1230, active=True, meta={"id": "001"})
8181

82-
assert "None value is not allowed" in str(exception_info.value)
82+
assert "Value for the field 'name' is required" in str(exception_info.value)
8383

8484
# test with extension
8585
obj = MyPrimitivesValueFieldsModel(

0 commit comments

Comments
 (0)