aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-30 13:26:15 +0300
committerzsloan2021-06-18 22:08:04 +0000
commit07464f44f48895cc31ba2b088d6125e7777e1073 (patch)
tree59b23a3aae7c955e558c160d1de07d79b8a86196 /tests/unit
parent93ab68fe650eed0bb53d77225f47f72e527e48c4 (diff)
downloadgenenetwork3-07464f44f48895cc31ba2b088d6125e7777e1073.tar.gz
fix index error (#16)
Diffstat (limited to 'tests/unit')
-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 d264738..5746adf 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 = [("val", x*0.1)
+ expected_db_results = [[x*0.1]
for x in range(1, 4)]
conn = DataBase(expected_results=expected_db_results)
expected_results = ("1", 0.1)