You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
Moved entities, input and output files to respectively sub-directories
in the Python tests.
Closes#689
Addresses also issue #609
While updating the tests to use the new sub-directories, a few other
path-related issues were discovered and fixed:
* two potential segfaults in dlite-storage.i and dlite.rdf.c if an
invalid path is provided were fixed
* raise DLiteParseError instead of DLiteOtherError for invalid json
input
* allow to hide DLiteOtherError by using DLiteUnknownError.
## Type of change
- [x] Bug fix & code cleanup
- [ ] New feature
- [ ] Documentation update
- [ ] Test update
## Checklist for the reviewer
This checklist should be used as a help for the reviewer.
- [ ] Is the change limited to one issue?
- [ ] Does this PR close the issue?
- [ ] Is the code easy to read and understand?
- [ ] Do all new feature have an accompanying new test?
- [ ] Has the documentation been updated as necessary?
There are both entities in the folder:
https://github.com/SINTEF/dlite/tree/master/bindings/python/tests
and in the folder
https://github.com/SINTEF/dlite/tree/master/bindings/python/tests/entities
Similarly entities, both valid and invalid are found here:
https://github.com/SINTEF/dlite/tree/master/bindings/python/tests/input
It is easier to find them again if they are all in the same place for the tests.
Concurrently a folder at the same level should be made for entities and entities moved there.
The text was updated successfully, but these errors were encountered: