mò +á¸Ec@s®dZdZddd!ZdkZdkZdkZdklZlZdk l Z dfd „ƒYZ d ei fd „ƒYZ d „Zd „Zedjo eƒndS(sDocument Template Tests s@$Id: testDTMLUnicode.py 40218 2005-11-18 14:39:19Z andreasjung $s$Revision: 1.4 $i iþÿÿÿN(sHTMLsString(sBaset force_strcBstZd„Zd„ZRS(NcCs ||_dS(N(tstself(RR((tE/data/zmath/zope/lib/python/DocumentTemplate/tests/testDTMLUnicode.pyt__init__scCs|iS(N(RR(R((Rt__str__s(t__name__t __module__RR(((RRs tDTMLUnicodeTestscBs_tZeZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z RS( NcCsF|idƒ}d}|ddddƒ}||jp t| ‚dS(Nst helloworldtathellotbtworld(Rt doc_classthtmltexpectedtrestAssertionError(RRRR((RttestAA$scCsF|idƒ}d}|ddddƒ}||jp t| ‚dS(Nsu helloworldR uhelloR uworld(RRRRRR(RRRR((RttestUU*scCsF|idƒ}d}|ddddƒ}||jp t| ‚dS(Nsu helloworldR R R uworld(RRRRRR(RRRR((RttestAU0scCsL|idƒ}d}|dddtdƒƒ}||jp t| ‚dS(NsshelloÈR R R iÈ(RRRRtchrRR(RRRR((RttestAB6scCsL|idƒ}d}|dddtdƒƒ}||jp t| ‚dS(NsuhelloÈR uhelloR iÈ(RRRRRRR(RRRR((RttestUB<scCsR|idƒ}d}|dtdƒdtdƒƒ}||jp t| ‚dS(NsußÈR iÐR iÈ(RRRRtunichrRRR(RRRR((RttestUB2Bs!cCsX|idƒ}d}|dttdƒƒdtdƒƒ}||jp t| ‚dS(NsußÈR iÐR iÈ( RRRRRRRRR(RRRR((RttestUnicodeStrHs'cCsL|idƒ}d}|dddtdƒƒ}||jp t| ‚dS(Ns#u he>lloÈR uhe>lloR iÈ(RRRRRRR(RRRR((RttestUqBNscCsH|idƒ}tdƒdd}|ƒ}||jp t| ‚dS(Ns#iÈis...(RRRRRRR(RRRR((RttestSizeTs ( RRtHTMLRRRRRRRRRR(((RR s        cCs&tiƒ}|ititƒƒ|S(N(tunittestt TestSuitetsuitetaddTestt makeSuiteR(R!((Rt test_suiteZs cCstiƒitƒƒdS(N(RtTextTestRunnertrunR$(((Rtmain_st__main__(t__doc__t __rcs_id__t __version__tsystosRtDocumentTemplate.DT_HTMLRtStringtExtensionClasstBaseRtTestCaseRR$R'R( R1RR/RR,R*RR'R$RR+R-((Rt?s   :