Our datamodel is currently working with 2.0.4.
There is already the version 3.0.1
Some test do not work with the newer version.
We should update our dependancies and the tests to solve this.
Tests failing:
FAILED test/hermes_test/model/types/test_ld_container.py::TestLdContainer::test_to_expanded_id - AssertionError: assert {'@id': 'http...org/base/ham'} == {'@id': 'ham'}
FAILED test/hermes_test/model/types/test_ld_container.py::TestLdContainer::test_to_expanded_id_with_prefix - AssertionError: assert {'@id': 'http...org/base/ham'} == {'@id': 'ham'}
FAILED test/hermes_test/model/types/test_ld_container.py::TestLdContainer::test_to_expanded_id_value - AssertionError: assert {'http://spam.../base/spam'}]} == {'http://spam...id': 'spam'}]}
FAILED test/hermes_test/model/types/test_ld_dict.py::test_build_in_comparison - AssertionError: assert ld_dict([{'@i...e': 'bar'}]}]) == {'@id': 'foo'}
FAILED test/hermes_test/model/types/test_ld_dict.py::test_update - AssertionError: assert {'http://xmln...lue': 'foo'}]} == {'http://xmln...lue': 'foo'}]}
FAILED test/hermes_test/model/types/test_ld_dict.py::test_items - AssertionError: assert ([{'@value': ...g/base/bar'}]) == ([{'@value': ...@id': 'bar'}])
FAILED test/hermes_test/model/types/test_ld_dict.py::test_to_python - AssertionError: assert {'xmlns:foo':...ame': ['foo']} == {'xmlns:foo':...ame': ['foo']}
FAILED test/hermes_test/model/types/test_ld_dict.py::test_from_dict - AssertionError: assert {'@id': 'http...lns:hompage']} == {'@id': 'foo'...lns:hompage']}
FAILED test/hermes_test/model/types/test_ld_list.py::test_append - AssertionError: assert ({'@type': ['h...value': 'a'}]} == {'@type': ['A...value': 'a'}]}
FAILED test/hermes_test/model/types/test_ld_list.py::test_extend - AssertionError: assert ({'@type': ['h...value': 'a'}]} == {'@type': ['A...value': 'a'}]}
FAILED test/hermes_test/model/types/test_ld_list.py::test_to_python - AssertionError: assert ['http://example.org/base/A'] == ['A']
Somehow example.org is put as long:iri and we can not handle it.
Our datamodel is currently working with 2.0.4.
There is already the version 3.0.1
Some test do not work with the newer version.
We should update our dependancies and the tests to solve this.
Tests failing:
Somehow example.org is put as long:iri and we can not handle it.