Commit 47e478e4 authored by Barry Warsaw's avatar Barry Warsaw

UndoVersionStorage class renamed TransactionalUndoVersionStorage and

made a true mixin (not a subclass).
parent 3420c0d5
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,
VersionStorage.VersionStorage):
import pickle
from ZODB import POSException
class TransactionalUndoVersionStorage:
def checkUndoInVersion(self):
oid = self._storage.new_oid()
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