Skip to content

Commit 98d7b5c

Browse files
committed
Fix test
1 parent 0b8c4f0 commit 98d7b5c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_filters_jinja2.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@ def test_item_get(
313313
assert response.json()["properties"].get("private") is True
314314
else:
315315
assert response.status_code == 404
316-
assert response.json() == {"message": "Not found"}
316+
assert response.json() == {
317+
"code": "NotFoundError",
318+
"description": "Record not found.",
319+
}
317320

318321

319322
@pytest.mark.parametrize("is_authenticated", [True, False], ids=["auth", "anon"])

0 commit comments

Comments
 (0)