Skip to content

Commit c19223c

Browse files
committed
remove TODOs per code review
Signed-off-by: Mike Fiedler <[email protected]>
1 parent bf6edaf commit c19223c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pyramid_openapi3/tests/test_extract_errors.py

-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def test_invalid_path_parameter(self) -> None:
128128
).post("/foo/not_a_number", status=400)
129129
assert res.json == [
130130
{
131-
# TODO: used to be CastError, might have been fixed later
132131
"exception": "ParameterValidationError",
133132
"message": "Failed to cast value to integer type: not_a_number",
134133
"field": "bar",
@@ -396,7 +395,6 @@ def test_multiple_errors(self) -> None:
396395
"field": "bar",
397396
},
398397
{
399-
# TODO: used to be CastError, might have been fixed later
400398
"exception": "ParameterValidationError",
401399
"message": "Failed to cast value to integer type: abc",
402400
"field": "bar",
@@ -482,8 +480,6 @@ def test_lists(self) -> None:
482480
{
483481
"exception": "RequestBodyValidationError",
484482
"message": "Failed to cast value to number type: not a number",
485-
# TODO: field is no longer emitted for the request body
486-
# "field": "foo/0/bam",
487483
}
488484
]
489485

0 commit comments

Comments
 (0)