From 9f3bae5e4a59112eab7498acade0ed7011fcfffd Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 19 Aug 2022 16:13:54 +0300 Subject: Fix message and function key --- test/requests/correlation_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/requests/correlation_tests.py') diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 2d314833..abb5794a 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -48,7 +48,7 @@ def check_lit_correlations(baseurl): "corr_type": "lit", "corr_return_results": "200" } - top_n_message = "The top 200 correlations ranked by the Lit Correlation" + top_n_message = "The top 200 correlations ranked by the Literature 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 @@ -60,7 +60,7 @@ def check_correlations(args_obj, parser): corr_type_fns = { "sample": check_sample_correlations, "tissue": check_tissue_correlations, - "tissue": check_lit_correlations + "lit": check_lit_correlations } host = args_obj.host for corr_type, corr_type_fn in corr_type_fns.items(): -- cgit v1.2.3