From 62a5058a975a92f673797e8f5285ef5f993b3840 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Mon, 12 Apr 2021 16:56:57 +0300 Subject: fix tests for lit correlation --- tests/unit/computations/test_correlation.py | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3