aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/computations
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-15 01:05:48 +0300
committerAlexander Kabui2021-05-15 01:05:48 +0300
commitbcba700bd2835f0a36042d781860b3407519f6d8 (patch)
tree1ef75b4f8158e7d0424cc3d3ad37e4848b82e3c9 /tests/unit/computations
parent0f2b3be58b8265858d17581b85cab5ac4f13e097 (diff)
downloadgenenetwork3-bcba700bd2835f0a36042d781860b3407519f6d8.tar.gz
index lit tuple result
Diffstat (limited to 'tests/unit/computations')
-rw-r--r--tests/unit/computations/test_correlation.py2
1 files changed, 1 insertions, 1 deletions
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)