[Zodb-checkins] CVS: Zope/lib/python/ZODB/tests - ConflictResolution.py:1.6
Chris McDonough
chrism@zope.com
Wed, 3 Oct 2001 16:51:22 -0400
Update of /cvs-repository/Zope/lib/python/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv7721
Modified Files:
ConflictResolution.py
Log Message:
Added simple test for ZClass conflict resolution avoidance.
=== Zope/lib/python/ZODB/tests/ConflictResolution.py 1.5 => 1.6 ===
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()