| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-04-22 | Add test case for deleting wiki data. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-04-08 | Fix failing test. | Frederick Muriuki Muriithi | |
| 2025-03-04 | Revert "test: Add unit tests for fibonacci function in rqtl2 module" | Munyoki Kilyungi | |
| This reverts commit 9bad745abd94fd0eeb0b0dc6aba0d6a74db33f81. | |||
| 2025-03-04 | Revert "docs: Add module and function docstrings for unit tests of fibonacci ↵ | Munyoki Kilyungi | |
| function". This reverts commit 6a76e302f11c0a0aa0bc0ac8487ad250f8afb9bb. | |||
| 2025-03-04 | docs: Add module and function docstrings for unit tests of fibonacci function | Munyoki Kilyungi (aider) | |
| 2025-03-04 | test: Add unit tests for fibonacci function in rqtl2 module | Munyoki Kilyungi (aider) | |
| 2025-02-28 | Fix linting errors. | Frederick Muriuki Muriithi | |
| 2025-02-10 | feat: Add LMDB sample data retrieval API endpoint with tests | Munyoki Kilyungi (aider) | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-02-07 | refactor: Add rqtl2 default method and update unittests. | Alexander_Kabui | |
| 2025-02-06 | Add test assertions for writing data to csv. | Alexander_Kabui | |
| 2025-02-06 | feat: Add unittests for rqtl2 computations. | Alexander_Kabui | |
| 2025-01-27 | Delete un-used database_connection test. | Munyoki Kilyungi | |
| * tests/unit/test_db_utils.py (test_database_connection): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-01-26 | Skip test that checks working of MySQLdb rather than GN3. | Frederick Muriuki Muriithi | |
| 2024-11-11 | Allow extra database connection options on URI | Frederick Muriuki Muriithi | |
| Update the database URI parsing to allow setting of extra connection option on the URI string. | |||
| 2024-10-18 | refactor: replace gn3.auth.db with gn3.sqlite_db_utils and drop all refs to ↵ | John Nduli | |
| gn3.auth | |||
| 2024-10-14 | Replace CONSTRUCT with SELECT for fetching RIF NCBI entries. | Munyoki Kilyungi | |
| * gn3/db/rdf/wiki.py: Delete datetime import. Import sparql_query. [RIF_CONTEXT]: Delete. (get_rif_entries_by_symbol): Replace CONSTRUCT with SELECT. * tests/unit/db/rdf/test_wiki.py (test_get_rif_entries_by_symbol): Update tests. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-14 | Replace species' shortName with it's full name in NCBI test data. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-14 | Remove "@id" from NCBI test data. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-14 | Update the NCBI expected test data context. | Munyoki Kilyungi | |
| * tests/unit/db/rdf/data.py: [LPL_RIF_ENTRIES]: Update "@context". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-14 | Add function for fetching NCBI data. | Munyoki Kilyungi | |
| * gn3/db/rdf/wiki.py: Import datetime. [RIF_CONTEXT]: New global variable defining the json-ld context for NCBI rif data. (get_rif_entries_by_symbol): New function. * tests/unit/db/rdf/data.py: New file containing expected NCBI test data. * tests/unit/db/rdf/test_wiki.py (test_update_wiki_comment): New test case. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-14 | Add NCBI test turtle data. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-02 | Use pathlib to fetch the directory path for tests. | Munyoki Kilyungi | |
| * tests/fixtures/rdf.py: import pathlib. (rdf_setup): Use pathlib to get the dir name for the tests folder. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-02 | Fix pylint failure. | Munyoki Kilyungi | |
| * tests/fixtures/rdf.py (rdf_setup): Fix C0301. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-02 | feat: cleaner handling of virtuoso process | John Nduli | |
| 2024-10-02 | Fix typo in comments. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-02 | Spin up a local virtuoso instance to run RDF tests against. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-10-02 | Add 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-02 | Set 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-28 | Lint: fix some linting errors. | Frederick Muriuki Muriithi | |
| 2024-09-27 | Skip failing test. | Frederick Muriuki Muriithi | |
| 2024-09-27 | Use existing fixture to retrieve settings. | Frederick Muriuki Muriithi | |
| 2024-09-23 | Revert "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-23 | Add 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-23 | Handle missing GN3_SECRETS for CI testing. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Fix or ignore pylint errors. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Load GN3_SECRETS after loading GN3_CONF settings. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Remove dead comment. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Make sure the the test graph is empty before running rdf tests. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Use test fixtures to set-up a test named graph. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2024-09-23 | Add 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-12 | Fix failing tests after merging in Pjotr's pull request. | Frederick Muriuki Muriithi | |
| 2024-09-12 | rqtl_wrapper: minor fixes | Pjotr Prins | |
| 2024-09-12 | Fix Rqtl test | Pjotr Prins | |
| 2024-09-12 | Change behavior of do_paths_exist to actually throw useful error | Pjotr Prins | |
| 2024-09-11 | Add 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> | |||
| 2024-09-03 | Make pylint fixes. | Alexander_Kabui | |
| 2024-09-03 | Add tests for fetching and populating references. | Alexander_Kabui | |
| 2024-09-03 | Add unittests for formatting bib info. | Alexander_Kabui | |
| 2024-05-27 | Pylint fixes. | Alexander_Kabui | |
| 2024-05-27 | Delete llm obsolete unittests | Alexander_Kabui | |
