diff options
author | Munyoki Kilyungi | 2024-01-12 16:28:59 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-01-12 17:03:14 +0300 |
commit | 2418e965209c911dbd6f518c93cbe7d9b602ff1b (patch) | |
tree | 9fbb787805151ecade835536cdf391838a5a0864 /gn2/tests | |
parent | e88c170135284732a0d0ce231caa3811eafab6c6 (diff) | |
download | genenetwork2-2418e965209c911dbd6f518c93cbe7d9b602ff1b.tar.gz |
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 <Alexanderkabua@gmail.com>
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/tests')
-rw-r--r-- | gn2/tests/wqflask/show_trait/test_show_trait.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" ) |