From 2418e965209c911dbd6f518c93cbe7d9b602ff1b Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 12 Jan 2024 16:28:59 +0300 Subject: Switch NCBI link from http to https in failing test and RDF query. * 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 Signed-off-by: Munyoki Kilyungi --- gn2/tests/wqflask/show_trait/test_show_trait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/tests/wqflask/show_trait') diff --git a/gn2/tests/wqflask/show_trait/test_show_trait.py b/gn2/tests/wqflask/show_trait/test_show_trait.py index 51b0c82c..e4d2f597 100644 --- a/gn2/tests/wqflask/show_trait/test_show_trait.py +++ b/gn2/tests/wqflask/show_trait/test_show_trait.py @@ -53,7 +53,7 @@ def test_get_ncbi_summary_request(mocker): """})) assert get_ncbi_summary(trait) == "this is a summary of the geneid" mock_get.assert_called_once_with( - "http://eutils.ncbi.nlm.nih.gov/entrez/" + "https://eutils.ncbi.nlm.nih.gov/entrez/" "eutils/esummary.fcgi?db=gene&id=" f"{trait.geneid}&retmode=json" ) -- cgit v1.2.3