Commit 94a2f527 authored by Jim Fulton's avatar Jim Fulton

Renamed getSerial to getTid.

parent d19e7d6f
...@@ -143,7 +143,7 @@ class TransactionalUndoStorage: ...@@ -143,7 +143,7 @@ class TransactionalUndoStorage:
eq(zodb_unpickle(data), MinPO(23)) eq(zodb_unpickle(data), MinPO(23))
self._iterate() self._iterate()
def checkCreationUndoneGetSerial(self): def checkCreationUndoneGetTid(self):
# create an object # create an object
oid = self._storage.new_oid() oid = self._storage.new_oid()
self._dostore(oid, data=MinPO(23)) self._dostore(oid, data=MinPO(23))
...@@ -156,9 +156,9 @@ class TransactionalUndoStorage: ...@@ -156,9 +156,9 @@ class TransactionalUndoStorage:
self._storage.undo(tid, t) self._storage.undo(tid, t)
self._storage.tpc_vote(t) self._storage.tpc_vote(t)
self._storage.tpc_finish(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 # 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): def checkUndoCreationBranch1(self):
eq = self.assertEqual eq = self.assertEqual
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment