aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-08-19 16:13:54 +0300
committerFrederick Muriuki Muriithi2022-08-19 16:13:54 +0300
commit9f3bae5e4a59112eab7498acade0ed7011fcfffd (patch)
treead5959b699fbbb0a884c16e3826bd270089221c6 /test
parentd9b8dec4f8bd9f1f08bb1d1c55c4036b047f9051 (diff)
downloadgenenetwork2-9f3bae5e4a59112eab7498acade0ed7011fcfffd.tar.gz
Fix message and function key
Diffstat (limited to 'test')
-rw-r--r--test/requests/correlation_tests.py4
1 files changed, 2 insertions, 2 deletions
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():