From faa195cda3eedb63a4524800d7225db4c531b3ef Mon Sep 17 00:00:00 2001 From: Jim Fulton <jim@zope.com> Date: Thu, 26 Apr 2007 23:19:56 +0000 Subject: [PATCH] Renamed getSerial to getTid. --- src/ZODB/tests/TransactionalUndoStorage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ZODB/tests/TransactionalUndoStorage.py b/src/ZODB/tests/TransactionalUndoStorage.py index b1dc25f3..9efd2e9e 100644 --- a/src/ZODB/tests/TransactionalUndoStorage.py +++ b/src/ZODB/tests/TransactionalUndoStorage.py @@ -143,7 +143,7 @@ class TransactionalUndoStorage: eq(zodb_unpickle(data), MinPO(23)) self._iterate() - def checkCreationUndoneGetSerial(self): + def checkCreationUndoneGetTid(self): # create an object oid = self._storage.new_oid() self._dostore(oid, data=MinPO(23)) @@ -156,9 +156,9 @@ class TransactionalUndoStorage: self._storage.undo(tid, t) self._storage.tpc_vote(t) self._storage.tpc_finish(t) - # Check that calling getSerial on an uncreated object raises a KeyError + # Check that calling getTid on an uncreated object raises a KeyError # The current version of FileStorage fails this test - self.assertRaises(KeyError, self._storage.getSerial, oid) + self.assertRaises(KeyError, self._storage.getTid, oid) def checkUndoCreationBranch1(self): eq = self.assertEqual -- 2.30.9