aboutsummaryrefslogtreecommitdiff
path: root/gn2/tests
AgeCommit message (Collapse)Author
2024-04-30Revert "Create constructors for encoding and decoding a token."Munyoki Kilyungi
This reverts commit e7a3bf22da1b63a01343f2cd30cd13c234fe508c.
2024-04-30Create constructors for encoding and decoding a token.Munyoki Kilyungi
* gn2/tests/unit/wqflask/oauth2/(__init__.py, test_tokens.py): Test cases for jwt token creation. * gn2/wqflask/oauth2/tokens.py (JWTToken): New module for creating jwt tokens. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Patch correct module to fix tests.Frederick Muriuki Muriithi
2024-03-26Revert "bug: gn2.wqflask.resource_manager has no `requests` defined"Frederick Muriuki Muriithi
This reverts commit dde660453fc402b020178db41d136334a1b91b89.
2024-03-26Revert "Update test function signatures and remove obsolete tests."Frederick Muriuki Muriithi
This reverts commit 77af7c016749998d62b769bdd24069f511925ef9.
2024-03-26Update test function signatures and remove obsolete tests.Frederick Muriuki Muriithi
2024-03-26bug: gn2.wqflask.resource_manager has no `requests` definedFrederick Muriuki Muriithi
gn2.wqflask.resource_manager module does not have a `requests` variable or function defined, leading to errors in the test.
2024-01-12Correctly patch the db connection when fetching accession_id.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-01-12Switch NCBI link from http to https in failing test and RDF query.Munyoki Kilyungi
* gn2/tests/wqflask/show_trait/test_show_trait.py (test_get_ncbi_summary_request): Replace "http://eutils.ncbi.nlm.nih.gov" with "https://eutils.ncbi.nlm.nih.gov" * gn2/wqflask/views.py (get_probeset): Ditto. Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com> Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-12-30Namespace mock paths under gn2.Arun Isaac
2023-12-29Namespace all modules under gn2.Arun Isaac
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.