mς &αΈEc@s$dZdkZdkZdkZdkZdkZdkZdklZdk l Z dk Z dk lZdk lZdk lZdklZyeWn,ej o eiieidƒZnXd fd „ƒYZdad eifd „ƒYZd „ZedjoeiƒndS(sTests of ZODBMountPoint N(s Application(sFolder(smanage_addMounts(s getMountPoint(smanage_getMountStatus(sDBTabit TestDBConfigcBs#tZd„Zd„Zd„ZRS(NcCs||_||_dS(N(tfnametselftmpoints(RRR((tK/data/zmath/zope/lib/python/Products/ZODBMountPoint/tests/testMountPoint.pyt__init__%s cCsβdkl}dkl}dkl}|i|_d|_ t i i t i itƒ|iƒ|_ d|_d|_d|_d|_d|_d|_d|_|i|_||_d|_||ƒ|_d|_||ƒS(N(s DemoStorage(s Connection(s ZopeDatabaseiˆiiid(t ZODB.configt DemoStoragetZODB.Connectiont ConnectiontZope2.Startup.datatypest ZopeDatabaseRRtnametNonetbasetostpathtjointdirnamet__file__tcreatet read_onlytquotat cache_sizet pool_sizetversion_pool_sizetversion_cache_sizeRt mount_pointstconnection_classt class_factorytstoragetcontainer_class(RR R R((RtgetDB)s&     '           cCs|iS(N(RR (R((RtgetSectionName>s(t__name__t __module__RR R!(((RR$s  t MountingTestscBsGtZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCshtdjotiiƒantddgƒiƒtddgƒiƒtddgƒiƒg} h}h}xN| D]F} | i ƒ} | ii ƒ} | || (RR<((Rt testWritets     cCs |it|iƒdjƒ|it|iiƒdj ƒ|it|iiƒidƒ|it|iiƒdj ƒ|it|iiƒidƒ|i`t ƒ|i_d|ii_ |it|iiƒdjƒt i ƒ|it|iiƒdjƒdS(Ns/mount1s/mount2RG( Rtassert_t getMountPointR<R RFRHt_pathRGtFolderRIR=R>(R((RttestGetMountPoint…s  cCsxt|iƒ}hdd<dd<dd<dd