Commit 89e4ad15 authored by Barry Warsaw's avatar Barry Warsaw

UndoVersionStorage class renamed TransactionalUndoVersionStorage and

made a true mixin (not a subclass).
parent 62c5124f
import UndoStorage, VersionStorage # Check interactions between transactionalUndo() and versions. Any storage
# that supports both transactionalUndo() and versions must pass these tests.
class UndoVersionStorage(UndoStorage.UndoStorage, import pickle
VersionStorage.VersionStorage): from ZODB import POSException
class TransactionalUndoVersionStorage:
def checkUndoInVersion(self): def checkUndoInVersion(self):
oid = self._storage.new_oid() oid = self._storage.new_oid()
version = 'one' version = 'one'
......
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