Skip to content
Snippets Groups Projects
Commit 4ebdb196 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix SQLBaseStoreTestCase

parent 3cd9c02f
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment