Skip to content

Commit 8686e3b

Browse files
committed
test: fix todoapp example test
Signed-off-by: Mike Fiedler <[email protected]>
1 parent 295174a commit 8686e3b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/todoapp/tests.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ def test_bad_items(self) -> None:
106106
res.json,
107107
[
108108
{
109-
"exception": "ValidationError",
110-
"message": "'foo' is not of type 'object'",
111-
},
112-
{
113-
"exception": "ValidationError",
114-
"message": "'bar' is not of type 'object'",
109+
"exception": "DataValidationError",
110+
"message": "Failed to cast value to object type: foo",
115111
},
116112
],
117113
)

0 commit comments

Comments
 (0)