| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-10-22 | Remove mock for no-longer existing attribute. | Frederick Muriuki Muriithi | |
| 2025-10-22 | Fetch configs from app setting and pass them down | Frederick Muriuki Muriithi | |
| Fix the code to avoid using global variables holding configuration variables to avoid the failures caused by action-at-a-distance effects due to change of a value elsewhere. This way, all code consistently receives the same configuration values passed on from callers. We pass on the following configuration settings: * TMPDIR * SQL_URI * TEXTDIR | |||
| 2025-08-06 | Change order of query parameters. | Frederick Muriuki Muriithi | |
| 2025-07-16 | feat: Add unittests for llm rate limiting functionality. | Alexander_Kabui | |
| 2025-07-16 | feat: Add unittest for cleaning up gnqna queries. | Alexander_Kabui | |
| 2025-07-07 | Rename dict key. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Add unit tests for get_changes. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Fix mypy errors. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Fix pylint errors. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Fix pylint errors. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "update_case_attribute" | Munyoki Kilyungi | |
| To update an attribute, you can use the "apply_change" function instead. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Add function for adding a change. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Add function for viewing a single diff change. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Add test cases for "update_case_attributes." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Store edit status in enum class. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Return the case_attr id after queuing. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "approve_case_attribute." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "reject_case_attribute." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "insert_case_attribute_audit." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "get_unreviewed_diffs." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Delete "get_case_attributes." | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-07-07 | Add test case for queue_edit. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-04-22 | Fix pylint errors. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 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> | |||
