mò $á¸Ec@s™dZdkZdkZdkZdkZdkZdklZdk Z dei fd„ƒYZ d„Z d„Zedjoeidd ƒndS( s\ Revision information: $Id: testExternalMethod.py 40218 2005-11-18 14:39:19Z andreasjung $ N(sExternalMethodtTestExternalMethodcBs,tZd„Zd„Zd„Zd„ZRS(NcCsStiiƒ|_tiiƒ}tii t i i i ƒ|_tii|ƒdS(N(tApptconfigtgetConfigurationtselft_oldtDefaultConfigurationtcfgtostpathtdirnametProductstExternalMethodttestst__file__t instancehometsetConfiguration(RR((tO/data/zmath/zope/lib/python/Products/ExternalMethod/tests/testExternalMethod.pytsetUpscCstii|iƒdS(N(RRRRR(R((RttearDown&scCs’tddddƒ}|i|dƒtidƒƒ|iƒ}tiƒ}|i |ƒ|i|dƒtidƒƒ|i |i dƒƒdS(Ntems test methodtTestttestfii t func_defaults( R tem1Rt assertEqualtmathtsqrtt __getstate__tstatet __basicnew__tem2t __setstate__tfailIfthas_key(RRRR((Rt testStorage)s   cCs§dkl}tddddƒ}|i||fhdd<ƒtidƒƒ|iƒ}ti ƒ}|i |ƒ|i||fhdd<ƒtidƒƒdS( N(smapplyRs test methodRRtarg1ii ( tZPublisher.mapplytmapplyR RRRRRRRRRR (RRR&RR((Rt test_mapply2s .   (t__name__t __module__RRR#R'(((RRs   cCs titƒS(N(tunittestt makeSuiteR(((Rt test_suite>scCsƒ|d}ti|}t|dƒo|id}n<d|jo(ti|iddƒdid}n|}t i i |ƒS(NR(t__path__it.i( t globals_dictR(tsystmodulestmthasattrR-trtsplitRR tabspath(R/R2R4R(((Rt package_homeBs   (t__main__t defaultTestR,(t__doc__RRR*tZODBtProducts.ExternalMethod.testsR t&Products.ExternalMethod.ExternalMethodR t App.configRtTestCaseRR,R7R(tmain( RR*R;R R7R,R RRR((Rt?s       !