mò 0á¸Ec@sµdZdkZdkZedjo$eeiieiddƒƒndklZdk l Z dk l Z dk l Z e d ƒd „Z d „Zedjo eƒndS( s[Example functional doctest $Id: testFunctionalDocTest.py 40960 2005-12-21 15:47:40Z shh $ Nt__main__is framework.py(s TestSuite(sinstallProduct(sFunctionalDocTestSuite(sFunctionalDocFileSuitet PythonScriptscCs¡|iidddƒ|iididƒ|iiidddd ƒd }|iid d|ƒd }|iid d|ƒd}|iidd|ƒdS(súThis method will run after the test_class' setUp. >>> print http(r""" ... GET /test_folder_1_/index_html HTTP/1.1 ... """) HTTP/1.1 200 OK Content-Length: 5 Content-Type: text/plain; charset=... index t index_htmltfiletindexRtscripttparamssa=0tbodys return a+1sAt change_titles=t set_cookiesx : t show_cookiesN( tselftfoldertaddDTMLDocumenttmanage_addProducttmanage_addPythonScriptRtZPythonScript_editRt addDTMLMethodR R (R R R R((tU/data/zmath/zope/lib/python/Testing/ZopeTestCase/zopedoctest/testFunctionalDocTest.pytsetUps cCs%ttdtƒtddtƒfƒS(NRsFunctionalDocTest.txt(t TestSuitetFunctionalDocTestSuiteRtFunctionalDocFileSuite(((Rt test_suite;s(t__doc__tostsyst__name__texecfiletpathtjointunittestRtTesting.ZopeTestCasetinstallProductRRRRt framework(R!RRRRRRR((Rt?s $