ó û^‚Rc@s†ddlZddlZddlmZmZdefd„ƒYZd„Zdejefd„ƒYZ e d kr‚ej ƒndS( iÿÿÿÿNi(t LoggingResultt TestEqualitytTestcBs!eZdejfd„ƒYZRS(tFoocBs,eZd„Zd„Zd„Zd„ZRS(cCsdS(N((tself((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_1 scCsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_2 scCsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_3scCsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pytrunTests(t__name__t __module__RRRR(((s./usr/lib/python2.7/unittest/test/test_suite.pyR s   (R R tunittesttTestCaseR(((s./usr/lib/python2.7/unittest/test/test_suite.pyR scGstjd„|DƒƒS(Ncss|]}tj|ƒVqdS(N(RR(t.0tn((s./usr/lib/python2.7/unittest/test/test_suite.pys s(R t TestSuite(tnames((s./usr/lib/python2.7/unittest/test/test_suite.pyt _mk_TestSuitestTest_TestSuitecBsyeZejƒejƒfejƒejgƒfedƒedƒfgZejƒedƒfejgƒedƒfeddƒeddƒfedƒedƒfgZd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(RRRcCs&tjƒ}|j|jƒdƒdS(Ni(R Rt assertEqualtcountTestCases(Rtsuite((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_init__tests_optional0s cCs)tjgƒ}|j|jƒdƒdS(Ni(R RRR(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_init__empty_tests<scCs…d„}tj|ƒƒ}|j|jƒdƒtj|ƒ}|j|jƒdƒtjt|ƒƒ}|j|jƒdƒdS(Ncss&tjd„ƒVtjd„ƒVdS(NcSsdS(N(tNone(((s./usr/lib/python2.7/unittest/test/test_suite.pytIscSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRJs(R tFunctionTestCase(((s./usr/lib/python2.7/unittest/test/test_suite.pyttestsHsi(R RRRtset(RRtsuite_1tsuite_2tsuite_3((s./usr/lib/python2.7/unittest/test/test_suite.pyt"test_init__tests_from_any_iterableGs cCs5d„}tj|ƒƒ}|j|jƒdƒdS(Ncss8tjd„ƒ}tj|gƒVtjd„ƒVdS(NcSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyR^scSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyR`s(R RR(tftc((s./usr/lib/python2.7/unittest/test/test_suite.pyR]si(R RRR(RRR((s./usr/lib/python2.7/unittest/test/test_suite.pyt'test_init__TestSuite_instances_in_tests\s cCsYtjd„ƒ}tjd„ƒ}tj||fƒ}|jt|ƒ||gƒdS(NcSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRjscSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRks(R RRRtlist(Rttest1ttest2R((s./usr/lib/python2.7/unittest/test/test_suite.pyt test_iteriscCs&tjƒ}|j|jƒdƒdS(Ni(R RRR(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_countTestCases_zero_simpleus cCsKdtjfd„ƒY}tjtjƒgƒ}|j|jƒdƒdS(NtTest1cBseZd„ZRS(cSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest‚s(R R R)(((s./usr/lib/python2.7/unittest/test/test_suite.pyR(si(R R RRR(RR(R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_countTestCases_zero_nested€scCsStjd„ƒ}tjd„ƒ}tj||fƒ}|j|jƒdƒdS(NcSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRscSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRŽsi(R RRRR(RR$R%R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_countTestCases_simpleŒscCsdtjfd„ƒY}tjd„ƒ}tjd„ƒ}tj|dƒ|fƒ}tj|||dƒfƒ}|j|jƒdƒdS(NR(cBseZd„Zd„ZRS(cSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR$šscSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR%›s(R R R$R%(((s./usr/lib/python2.7/unittest/test/test_suite.pyR(™s cSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRscSsdS(N(R(((s./usr/lib/python2.7/unittest/test/test_suite.pyRžsR%R$i(R R RRRR(RR(R%ttest3tchildtparent((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_countTestCases_nested˜s cCs?g}t|ƒ}tjƒ}|j|ƒ|j|gƒdS(N(RR RtrunR(RteventstresultR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_run__empty_suite¨s    cCs?tjƒ}y|jƒWntk r-nX|jdƒdS(NsFailed to raise TypeError(R RR0t TypeErrortfail(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_run__requires_result´s   csyg‰tˆƒ}dtjf‡fd†ƒY}|dƒ|dƒg}tj|ƒj|ƒ|jˆddgƒdS(Nt LoggingCasecs)eZ‡fd†Zd„Zd„ZRS(csˆjd|jƒdS(Nsrun %s(tappendt_testMethodName(RR2(R1(s./usr/lib/python2.7/unittest/test/test_suite.pyR0ÅscSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR$ÈscSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR%És(R R R0R$R%((R1(s./usr/lib/python2.7/unittest/test/test_suite.pyR7Äs R$R%s run test1s run test2(RR R RR0R(RR2R7R((R1s./usr/lib/python2.7/unittest/test/test_suite.pyttest_runÀs  cCsqdtjfd„ƒY}|dƒ}tjƒ}|j|ƒ|j|jƒdƒ|jt|ƒ|gƒdS(NRcBseZd„ZRS(cSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR)Ôs(R R R)(((s./usr/lib/python2.7/unittest/test/test_suite.pyRÓsR)i(R R RtaddTestRRR#(RRR)R((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTest__TestCaseÒs    cCs}dtjfd„ƒY}tj|dƒgƒ}tjƒ}|j|ƒ|j|jƒdƒ|jt|ƒ|gƒdS(NRcBseZd„ZRS(cSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyR)ás(R R R)(((s./usr/lib/python2.7/unittest/test/test_suite.pyRàsR)i(R R RR;RRR#(RRRR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTest__TestSuiteßs   csÔdtjfd„ƒY}|dƒ‰|dƒ‰tjˆgƒ‰‡‡‡fd†}tjƒ}|j|ƒƒ|jt|ƒt|ƒƒƒtjƒ}x|ƒD]}|j|ƒq©W|j||ƒdS(NRcBseZd„Zd„ZRS(cSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyRòscSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyRós(R R RR(((s./usr/lib/python2.7/unittest/test/test_suite.pyRñs RRc3sˆVˆVˆVdS(N(((t inner_suiteRR(s./usr/lib/python2.7/unittest/test/test_suite.pytgenùs(R R RtaddTestsRR#R;(RRR?RRtt((R>RRs./usr/lib/python2.7/unittest/test/test_suite.pyt test_addTestsðs    cCsBtjƒ}y|jdƒWntk r0nX|jdƒdS(NisFailed to raise TypeError(R RR@R4R5(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTest__noniterables   cCs&tjƒ}|jt|jdƒdS(Ni(R Rt assertRaisesR4R;(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTest__noncallables cCs?tjƒ}|jt|jtƒ|jt|jtjƒdS(N(R RRDR4R;R(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTest__casesuiteclasss cCs&tjƒ}|jt|jdƒdS(Ntfoo(R RRDR4R@(RR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_addTests__string"s cCs9d„}tjƒ}|j|ƒ|jtjƒƒdS(NcSsdS(N((t_((s./usr/lib/python2.7/unittest/test/test_suite.pytf's(R RR;R0t TestResult(RRJR((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_function_in_suite&s   csDdtjfd„ƒY}dtf‡fd†ƒY‰d|_ˆtjd<|jtjjdƒtjƒ}|j |dƒ|dƒgƒ|j |j ƒdƒtj ƒ}|j |ƒ|jˆjƒ|jˆjƒ|j|jƒ|j|jƒ|j t|jƒdƒ|j t|jƒd ƒ|j |jdƒdS( NRcBsDeZeZeZed„ƒZed„ƒZd„Zd„Z RS(cSs t|_dS(N(tTruetwasSetUp(tcls((s./usr/lib/python2.7/unittest/test/test_suite.pyt setUpClass5scSs t|_dS(N(RMt wasTornDown(RO((s./usr/lib/python2.7/unittest/test/test_suite.pyt tearDownClass8scSsdS(N((R((s./usr/lib/python2.7/unittest/test/test_suite.pyttestPass;scSstdS(N(R5(R((s./usr/lib/python2.7/unittest/test/test_suite.pyttestFail=s( R R tFalseRNRQt classmethodRPRRRSRT(((s./usr/lib/python2.7/unittest/test/test_suite.pyR2s  tModulecs>eZeZeZe‡fd†ƒZe‡fd†ƒZRS(cs tˆ_dS(N(RMRN((RW(s./usr/lib/python2.7/unittest/test/test_suite.pyt setUpModuleBscs tˆ_dS(N(RMRQ((RW(s./usr/lib/python2.7/unittest/test/test_suite.pyttearDownModuleEs(R R RURNRQt staticmethodRXRY((RW(s./usr/lib/python2.7/unittest/test/test_suite.pyRW?sRSRTiii(R R tobjectR tsystmodulest addCleanuptpopt BaseTestSuiteR@RRRKR0t assertFalseRNRQtlenterrorstfailuresttestsRun(RRRR2((RWs./usr/lib/python2.7/unittest/test/test_suite.pyttest_basetestsuite1s"      cCsudtjfd„ƒY}|ƒ}tjƒ}tjƒ}|j|ƒ||ƒ|j|jƒ|j|jƒdS(NtMySuitecBseZeZd„ZRS(c_s#t|_tjj|||ŽdS(N(RMtcalledR Rt__call__(Rtargstkw((s./usr/lib/python2.7/unittest/test/test_suite.pyRi_s (R R RURhRi(((s./usr/lib/python2.7/unittest/test/test_suite.pyRg]s(R RRKR;t assertTrueRhRat_testRunEntered(RRgRR2twrapper((s./usr/lib/python2.7/unittest/test/test_suite.pyttest_overriding_call\s     (R R R RRteq_pairstne_pairsRRR R"R&R'R*R+R/R3R6R:R<R=RBRCRERFRHRLRfRo(((s./usr/lib/python2.7/unittest/test/test_suite.pyRs:         +t__main__( R R\tsupportRRR[RRR RR tmain(((s./usr/lib/python2.7/unittest/test/test_suite.pyts   ÿX