summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 15:32:35 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 15:32:35 +0000
commit4ebdb1968225243bab86ef5d8d9f8feb274dd9ce (patch)
tree5ca6bea0723eaec19125fd18910a0ffa3e6bb3e2 /tests
parentFix stream test. (diff)
downloadsynapse-4ebdb1968225243bab86ef5d8d9f8feb274dd9ce.tar.xz
Fix SQLBaseStoreTestCase
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py
index 3ad9a4b0c0..fabd364be9 100644
--- a/tests/storage/test_base.py
+++ b/tests/storage/test_base.py
@@ -74,7 +74,7 @@ class SQLBaseStoreTestCase(unittest.TestCase):
     @defer.inlineCallbacks
     def test_select_one_1col(self):
         self.mock_txn.rowcount = 1
-        self.mock_txn.fetchone.return_value = ("Value",)
+        self.mock_txn.fetchall.return_value = [("Value",)]
 
         value = yield self.datastore._simple_select_one_onecol(
                 table="tablename",