-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a major bug in very nested *seq* schemas where if the schema ex…
…pected another *seq* but the value was something else it would not raise it as a validation error. This has now been fixed and now raises the proper error. In the case of multiple items in a sequence block and any errors is raised from the children, it will not only track the children that did not validate and not all children. NotSequenceError is no longer used as a mechanism but a proper SchemaError is not stores instead. Will be removed in the future. Commented out test method test_validate_sequence until it can be refactored at a later time.
- Loading branch information
Showing
4 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters