From bcba700bd2835f0a36042d781860b3407519f6d8 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Sat, 15 May 2021 01:05:48 +0300 Subject: index lit tuple result --- tests/unit/computations/test_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/computations') diff --git a/tests/unit/computations/test_correlation.py b/tests/unit/computations/test_correlation.py index 52c1f85..d264738 100644 --- a/tests/unit/computations/test_correlation.py +++ b/tests/unit/computations/test_correlation.py @@ -276,7 +276,7 @@ class TestCorrelation(TestCase): input trait mouse gene id and mouse gene id """ - expected_db_results = [namedtuple("lit_coeff", "val")(x*0.1) + expected_db_results = [("val", x*0.1) for x in range(1, 4)] conn = DataBase(expected_results=expected_db_results) expected_results = ("1", 0.1) -- cgit v1.2.3