Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prefixItems index reporting in ValidationError #862

Merged
merged 1 commit into from
Oct 18, 2021
Merged

Fix prefixItems index reporting in ValidationError #862

merged 1 commit into from
Oct 18, 2021

Conversation

jhashkes
Copy link

  • Fixed an issue when a prefixItems mismatch was identified, ValidationError was neglecting to report the instance index in json_path and the various deque paths
  • Updated unit test

@codecov
Copy link

codecov bot commented Oct 18, 2021

Codecov Report

Merging #862 (ff1a2bf) into main (2cf3dc2) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #862   +/-   ##
=======================================
  Coverage   98.29%   98.29%           
=======================================
  Files          19       19           
  Lines        3111     3111           
  Branches      377      377           
=======================================
  Hits         3058     3058           
  Misses         41       41           
  Partials       12       12           
Impacted Files Coverage Δ
jsonschema/tests/test_validators.py 98.80% <ø> (ø)
jsonschema/_validators.py 98.44% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2cf3dc2...ff1a2bf. Read the comment docs.

@Julian
Copy link
Member

Julian commented Oct 18, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants