aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures
AgeCommit message (Collapse)Author
2024-10-02Add virtuoso ini file to be used during testing.Munyoki Kilyungi
tests/fixtures/virtuoso.py: New file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-10-02Set a default password for sparql.Munyoki Kilyungi
* tests/fixtures/rdf.py: Import config. (get_sparql_auth_conf): Load GN3 config from GN3_SECRETS and GN3_CONF if the respective envs are set. Set sane defaults for sparql_conf. (rdf_setup): Remove "fxtr_app_config". * tests/unit/db/rdf/test_wiki.py (test_get_wiki_entries_by_symbol): Ditto. (test_get_comment_history): Ditto. (test_update_wiki_comment): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-28Lint: fix some linting errors.Frederick Muriuki Muriithi
2024-09-27Use existing fixture to retrieve settings.Frederick Muriuki Muriithi
2024-09-23Handle missing GN3_SECRETS for CI testing.Munyoki Kilyungi
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-23Load GN3_SECRETS after loading GN3_CONF settings.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-23Make sure the the test graph is empty before running rdf tests.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>