Tidy up _simple_... methods

This commit is contained in:
Erik Johnston 2015-03-20 14:59:48 +00:00
parent 87db64b839
commit 7e282a53a5
4 changed files with 63 additions and 43 deletions

View file

@ -180,7 +180,7 @@ class SQLBaseStoreTestCase(unittest.TestCase):
self.mock_txn.rowcount = 1
self.mock_txn.fetchone.return_value = ("Old Value",)
ret = yield self.datastore._simple_update_one(
ret = yield self.datastore._simple_selectupdate_one(
table="tablename",
keyvalues={"keycol": "TheKey"},
updatevalues={"columname": "New Value"},