ThreeSixtyGiving / dataquality

Other
1 stars 1 forks source link

Fix oneOf error messages (test failures caused by new schema) #69

Open Bjwebb opened 1 year ago

Bjwebb commented 1 year ago

Running SCHEMA_BRANCH=336-november-feature-update py.test results in 5 tests failing.

These are all due to error messages not displaying as expected. This is due to the new schema's use of oneOf. A lot of messages are now replaced with "X is not valid under any of the given schemas". It's possible to get at the underlying error messages and display those, which we already do for BODS and OCDS.