Commit 28aa7425 authored by Chris McDonough's avatar Chris McDonough

Added simple test for ZClass conflict resolution avoidance.

parent d684ba86
......@@ -85,6 +85,10 @@ class ConflictResolvingStorage:
self._dostoreNP,
oid, revid=revid1, data=zodb_pickle(obj))
def checkZClassesArentResolved(self):
from ZODB.ConflictResolution import bad_class
dummy_class_tuple = ('*foobar', ())
assert bad_class(dummy_class_tuple) == 1
def checkBuggyResolve1(self):
obj = PCounter3()
......
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