diff --git a/api/tests/test_schema.py b/api/tests/test_schema.py index b8e10fe6..3fb2d01f 100644 --- a/api/tests/test_schema.py +++ b/api/tests/test_schema.py @@ -144,4 +144,4 @@ def test_deserialize_nonexistantrole_err(empty_db_session): json_from_request = '{"role": {"name": "FakeRole"}, "email": "realemail@fakedomain.com", "firstName": "first", "middleName": "middle", "lastName": "last"}' data_from_request = json.loads(json_from_request) with pytest.raises(ValidationError, match="Role FakeRole does not exist"): - user_schema.load(data_from_request, session=empty_db_session) \ No newline at end of file + user_schema.load(data_from_request, session=empty_db_session)