From 15a1ff0d5cf8562c16e14491edd24b0f3171e083 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 11 Aug 2022 11:01:05 +0300 Subject: Fix correlation tests: Fix the test message. --- test/requests/correlation_tests.py | 6 ++---- 1 file 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 -- cgit v1.2.3