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
Update application for skosprovider 0.7.0 and fix functional tests. #506
Update application for skosprovider 0.7.0 and fix functional tests. #506
Conversation
Je kan u natuurlijk afvragen of het logisch is dat alles groen is, terwijl de applicatie niet kan runnen door de Registry issues.. Dat is omdat de functionele testen hun eigen providers gebruiken en geen van die providers heeft dat issue. atramhasis/tests/test_functional.py Lines 165 to 195 in 634dfa9
|
Op zich niet onlogisch. Atramhasis hoeft niet geconfigureerd te worden met zo'n getty of heritagedata provider. Die zijn enkel nodig voor links naar externe thesauri. De enige provider die echt essentieel is, is de SQLAlchemy provider. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand all code, but the tests are functioning. There are a lot of deprecation warnings though, but that's for a another ticket. Main issue is not being able to run standalone.
atramhasis/alembic/versions/cb568ec81000_add_infer_concept_relations_column.py
Outdated
Show resolved
Hide resolved
Dit is de laatste PR tegen branch DEV_0.7.0. Eens deze gemerged is, zet ik alles op develop en verwijder ik de DEV_0.7.0 branch |
- Default to sqlite database - Set infer_concept_relations not nullable - Add logging in case of attribute error during registry creation
Er zit wel wat meer in dan origineel in het ticket. Maar met minder ging het volgens mij moeilijk.
db
property. Dat is de database session, 1 per request. Wordt gebruikt voor zowel de datamanagers zoals vroeger als ook de sqlalchemyproviders per request.skos/__init__.py
aangepast aan nieuw manier van opbouwen Registry..ini
changes voor de nieuwe registry.DbTest
class die iedere test die een database wil gebruiken zou moeten gebruiken. Elke test heeft zijn eigenself.session
binnen een transaction, rollback na elke test.Ik heb de niet-functionele testen nog niet bekeken.