From f9698f6a0773d372e72178e5bb33fe4b3f53475b Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 17 Mar 2022 16:27:42 +0300 Subject: Fix failing test --- wqflask/tests/unit/wqflask/api/test_correlation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wqflask/tests/unit/wqflask/api/test_correlation.py b/wqflask/tests/unit/wqflask/api/test_correlation.py index 57986e80..50df2bb4 100644 --- a/wqflask/tests/unit/wqflask/api/test_correlation.py +++ b/wqflask/tests/unit/wqflask/api/test_correlation.py @@ -87,9 +87,7 @@ class TestCorrelations(unittest.TestCase): mock_db.return_value.__enter__.return_value = conn with conn.cursor() as cursor: cursor.fetchone.side_effect = [ - AttributeSetter({"value": "V1"}), - AttributeSetter({"value": "V2"}), - AttributeSetter({"value": "V3"})] + ("V1", ), ("V2", ), ("V3", )] this_trait = AttributeSetter({"geneid": "GH-1"}) target_dataset = AttributeSetter( {"group": AttributeSetter({"species": "rat"})}) -- cgit v1.2.3