mò Sã¸Ec@sçdZdkZdkZdkZdklZdklZdkl Z dk l Z dk l Z l Z lZlZlZdefd„ƒYZd eefd „ƒYZd e i e i e i eieifd „ƒYZd „ZdS(sA storage used for unittests. The primary purpose of this module is to have a minimal multi-version storage to use for unit tests. MappingStorage isn't sufficient. Since even a minimal storage has some complexity, we run standard storage tests against the test storage. N(s BaseStorage(s POSException(sz64(sStorageTestBase(s BasicStorages MTStoragesSynchronizationsPackableStoragesRevisionStoraget TransactioncBs)tZdZd„Zd„Zd„ZRS(s;Hold data for current transaction for MinimalMemoryStorage.cCsh|_||_dS(N(tselftindexttid(RR((t6/data/zmath/zope/lib/python/ZODB/tests/test_storage.pyt__init__&s cCs||i||ifR R@RAR9R?RR((Rt loadBeforews" ;      cCs1|iƒz|i||fSWd|iƒXdS(N(RRRRRR (RRR((Rt loadSerials  (RRRRRRRRR!R"R'RR3R6R7RBRC(((RR0s           tMinimalTestSuitecBstZd„Zd„ZRS(NcCstƒ|_dS(N(RRt_storage(R((RtsetUp›scCsdS(N((R((RtcheckLoadBeforeUndo s(RRRFRG(((RRD”s cCstitdƒS(Ntcheck(tunittestt makeSuiteRD(((Rt test_suite£s(RR<t threadingRItZODB.BaseStoraget BaseStoragetZODBR+t ZODB.utilsR0t ZODB.teststStorageTestBaset BasicStoraget MTStoragetSynchronizationtPackableStoragetRevisionStoragetobjectRRtSynchronizedStorageRDRK(RURRVR<RDRIRWRSRTRLRRRKRNRR+R0((Rt?s       % d1