aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2021-04-12 16:56:57 +0300
committerAlexander Kabui2021-04-12 16:56:57 +0300
commit62a5058a975a92f673797e8f5285ef5f993b3840 (patch)
tree69b180c8aa5f46c6dcdc87b6fdd9f0fb7da8def0
parent35f5ac0335f44923184ffe0f0a3380a9cf1859ef (diff)
downloadgenenetwork3-62a5058a975a92f673797e8f5285ef5f993b3840.tar.gz
fix tests for lit correlation
-rw-r--r--tests/unit/computations/test_correlation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/computations/test_correlation.py b/tests/unit/computations/test_correlation.py
index 8f3ef25..26301eb 100644
--- a/tests/unit/computations/test_correlation.py
+++ b/tests/unit/computations/test_correlation.py
@@ -302,6 +302,7 @@ class TestCorrelation(TestCase):
db value if corr coefficient is empty
"""
database_instance = mock.Mock()
+ database_instance.cursor.return_value = DataBase()
database_instance.execute.return_value.fetchone.return_value = None
lit_results = fetch_lit_correlation_data(conn=database_instance,