aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-17 16:27:42 +0300
committerBonfaceKilz2022-03-17 16:27:42 +0300
commitf9698f6a0773d372e72178e5bb33fe4b3f53475b (patch)
tree974751730a6b87776059178f997e1619b2d3de1b
parentec1ca101b15421c83de6094984dcec985a395d71 (diff)
downloadgenenetwork2-f9698f6a0773d372e72178e5bb33fe4b3f53475b.tar.gz
Fix failing test
-rw-r--r--wqflask/tests/unit/wqflask/api/test_correlation.py4
1 files changed, 1 insertions, 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"})})