diff options
author | Frederick Muriuki Muriithi | 2022-08-11 11:01:05 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-12 13:13:26 +0300 |
commit | 15a1ff0d5cf8562c16e14491edd24b0f3171e083 (patch) | |
tree | 8944036b25f4919a9eef2ffe1fa6dbf12507b5c4 /test/requests | |
parent | a1cbc12f843bbdc1759d5acac5ae3630fb5d4b81 (diff) | |
download | genenetwork2-15a1ff0d5cf8562c16e14491edd24b0f3171e083.tar.gz |
Fix correlation tests: Fix the test message.
Diffstat (limited to 'test/requests')
-rw-r--r-- | test/requests/correlation_tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 070698fd..0b8ba8cd 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -32,25 +32,23 @@ def check_sample_correlations(baseurl): assert (result.text.find(top_n_message) >= 0), result.text def check_tissue_correlations(baseurl): - print("\tChecking tissue correlations...", end="") data = { "corr_type": "tissue", "corr_sample_method": "pearson", "location_type": "gene", } - top_n_message = "The top 100 correlations ranked by the Genetic Correlation" + top_n_message = "The top 100 correlations ranked by the Tissue Correlation" result = do_request(f"{baseurl}/corr_compute", data) assert result.status_code == 200 assert (result.text.find("Values of record 1435464_at") >= 0), result.text assert (result.text.find(top_n_message) >= 0), result.text def check_lit_correlations(baseurl): - print("\tChecking lit correlations...", end="") data = { "corr_type": "lit", "corr_return_results": "200" } - top_n_message = "The top 500 correlations ranked by the Genetic Correlation" + top_n_message = "The top 200 correlations ranked by the Lit Correlation" result = do_request(f"{baseurl}/corr_compute", data) assert result.status_code == 200 assert (result.text.find("Values of record 1435464_at") >= 0), result.text |