SynBioDex / sbol_factory

The SBOLFactory provides a mechanism for automatically generating an interactive, object-oriented API from a declarative data model specification encoded in OWL.
MIT License
6 stars 3 forks source link

Regression testing fails on SBOL validation checking #57

Closed bbartley closed 2 years ago

bbartley commented 2 years ago

TestValidation.test_invalid_sbol fails because the error message produced by the pySBOL3 validator does not match the expected error message:

E       AssertionError: assert 'https://test...r>->sbol:type' == 'https://test...r>->sbol:type'
E         - https://test.org/water: Less than 1 values on <https://test.org/water>->sbol:type
E         + https://test.org/water: http://sbols.org/v3#type: Less than 1 values on <https://test.org/water>->sbol:type

It appears that an upstream change in the validator has been made that adds some additional detail to the error message.

This is a simple fix that can be made by updating test_invalid_sbol to expect the new error message format.