diff options
author | Alexander Kabui | 2021-04-12 16:56:57 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-04-12 16:56:57 +0300 |
commit | 62a5058a975a92f673797e8f5285ef5f993b3840 (patch) | |
tree | 69b180c8aa5f46c6dcdc87b6fdd9f0fb7da8def0 /tests/unit/computations | |
parent | 35f5ac0335f44923184ffe0f0a3380a9cf1859ef (diff) | |
download | genenetwork3-62a5058a975a92f673797e8f5285ef5f993b3840.tar.gz |
fix tests for lit correlation
Diffstat (limited to 'tests/unit/computations')
-rw-r--r-- | tests/unit/computations/test_correlation.py | 1 |
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, |