mò €ã¸Ec@s0dZdklZdeefd„ƒYZdS(s®Test cases for objects implementing IDataManager. This is a combo test between Connection and DB, since the two are rather incestuous and the DB Interface is not defined that I was able to find. To do a full test suite one would probably want to write a dummy storage that will raise errors as needed for testing. I started this test suite to reproduce a very simple error (tpc_abort had an error and wouldn't even run if called). So it is *very* incomplete, and even the tests that exist do not make sure that the data actually gets written/not written to the storge. Obviously this test suite should be expanded. $Id: abstestIDataManager.py 29966 2005-04-13 21:48:16Z tim_one $ (sTestCasetIDataManagerTestscBs,tZd„Zd„Zd„Zd„ZRS(NcCsd|_d|_d|_dS(N(tNonetselftdatamgrtobjt txn_factory(R((tD/data/zmath/zope/lib/python/transaction/tests/abstestIDataManager.pytsetUp%s  cCs |iƒS(N(RR(R((Rtget_transaction*scCs0|iƒ}|ii|ƒ|ii|ƒdS(N(RRttranRtpreparetcommit(RR ((Rt testCommitObj1s cCs0|iƒ}|ii|ƒ|ii|ƒdS(N(RRR RR tabort(RR ((Rt testAbortTran6s (t__name__t __module__RRR R(((RR#s   N(t__doc__tunittesttTestCasetobjectR(RR((Rt?s