aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/db/rdf
AgeCommit message (Collapse)Author
2024-09-27Use existing fixture to retrieve settings.Frederick Muriuki Muriithi
2024-09-23Revert "Add pytest.mark.unit_test for all rdf test-cases."Munyoki Kilyungi
This reverts commit f6d9b0cfb842b53e8777e9918549f1ed1ee5892e. Failing tests because of how we run tests using guix. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Add pytest.mark.unit_test for all rdf test-cases.Munyoki Kilyungi
This makes sure that all the test correctly run in CD. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Fix or ignore pylint errors.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Remove dead comment.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Use test fixtures to set-up a test named graph.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Add RDF test cases.Munyoki Kilyungi
* pytest.ini: Add rdf pytest marker. * tests/test_data/ttl-files/test-data.ttl: New file with turtle test data for RIF editing. * tests/unit/db/rdf/test_wiki.py (test_sanitize_result): New test case. (test_get_comment_history): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-11Add test cases for wiki.__sanitize_result.Munyoki Kilyungi
* tests/unit/db/rdf/test_wiki.py (test_sanitize_result): New file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>