[BUG] Response schema conformance failures are not properly deduplicated #907
Labels
Difficulty: Intermediate
Requires some experience
Priority: Low
Cosmetic or low-impact changes
Specification: OpenAPI
Specific to OpenAPI
Type: Bug
Errors or unexpected behavior
Describe the bug
When validating response conformance, the failures might not be deduplicated which creates a lot of noise.
To Reproduce
Steps to reproduce the behavior:
Note the
--hypothesis-phases=generate
option, otherwise the test might take much longerSchema:
Expected behavior
Only one failure with the given
jsonschema
-level output is expectedEnvironment:
This issue is connected with #834, after implementing which this behavior should be fixed as well.
As an idea -
difflib
could help hereThe text was updated successfully, but these errors were encountered: