rfc@sddlZddlZddlmZmZdefdYZdZdejefdYZ e d krej ndS( iNi(t LoggingResultt TestEqualitytTestcBs!eZdejfdYZRS(tFoocBs,eZdZdZdZdZRS(cCsdS(N((tself((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_1 scCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_2 scCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_3scCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pytrunTests(t__name__t __module__RRRR(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR s   (R R tunittesttTestCaseR(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR scGstjd|DS(Ncss|]}tj|VqdS(N(RR(t.0tn((s0/usr/lib64/python2.7/unittest/test/test_suite.pys s(R t TestSuite(tnames((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt _mk_TestSuitestTest_TestSuitecBsyeZejejfejejgfededfgZejedfejgedfeddeddfededfgZdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZdZdZdZdZdZdZdZdZdZdZRS(RRRcCs&tj}|j|jddS(Ni(R Rt assertEqualtcountTestCases(Rtsuite((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_init__tests_optional0s cCs)tjg}|j|jddS(Ni(R RRR(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_init__empty_tests<scCsd}tj|}|j|jdtj|}|j|jdtjt|}|j|jddS(Ncss&tjdVtjdVdS(NcSsdS(N(tNone(((s0/usr/lib64/python2.7/unittest/test/test_suite.pytIscSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRJs(R tFunctionTestCase(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttestsHsi(R RRRtset(RRtsuite_1tsuite_2tsuite_3((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt"test_init__tests_from_any_iterableGs cCs5d}tj|}|j|jddS(Ncss8tjd}tj|gVtjdVdS(NcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR^scSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR`s(R RR(tftc((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR]si(R RRR(RRR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt'test_init__TestSuite_instances_in_tests\s cCsYtjd}tjd}tj||f}|jt|||gdS(NcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRjscSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRks(R RRRtlist(Rttest1ttest2R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt test_iteriscCs&tj}|j|jddS(Ni(R RRR(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_countTestCases_zero_simpleus cCsKdtjfdY}tjtjg}|j|jddS(NtTest1cBseZdZRS(cSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttests(R R R)(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR(si(R R RRR(RR(R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_countTestCases_zero_nestedscCsStjd}tjd}tj||f}|j|jddS(NcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRscSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRsi(R RRRR(RR$R%R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_countTestCases_simplescCsdtjfdY}tjd}tjd}tj|d|f}tj|||df}|j|jddS(NR(cBseZdZdZRS(cSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR$scSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR%s(R R R$R%(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR(s cSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRscSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRsR%R$i(R R RRRR(RR(R%ttest3tchildtparent((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_countTestCases_nesteds cCs?g}t|}tj}|j||j|gdS(N(RR RtrunR(RteventstresultR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_run__empty_suites    cCs?tj}y|jWntk r-nX|jddS(NsFailed to raise TypeError(R RR0t TypeErrortfail(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_run__requires_results   csygt}dtjffdY}|d|dg}tj|j||jddgdS(Nt LoggingCasecs)eZfdZdZdZRS(csjd|jdS(Nsrun %s(tappendt_testMethodName(RR2(R1(s0/usr/lib64/python2.7/unittest/test/test_suite.pyR0scSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR$scSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR%s(R R R0R$R%((R1(s0/usr/lib64/python2.7/unittest/test/test_suite.pyR7s R$R%s run test1s run test2(RR R RR0R(RR2R7R((R1s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_runs  cCsqdtjfdY}|d}tj}|j||j|jd|jt||gdS(NRcBseZdZRS(cSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR)s(R R R)(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRsR)i(R R RtaddTestRRR#(RRR)R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__TestCases    cCs}dtjfdY}tj|dg}tj}|j||j|jd|jt||gdS(NRcBseZdZRS(cSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR)s(R R R)(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRsR)i(R R RR;RRR#(RRRR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__TestSuites   csdtjfdY}|d|dtjgfd}tj}|j||jt|t|tj}x|D]}|j|qW|j||dS(NRcBseZdZdZRS(cSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRscSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRs(R R RR(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRs RRc3sVVVdS(N(((t inner_suiteRR(s0/usr/lib64/python2.7/unittest/test/test_suite.pytgens(R R RtaddTestsRR#R;(RRR?RRtt((R>RRs0/usr/lib64/python2.7/unittest/test/test_suite.pyt test_addTestss    cCsBtj}y|jdWntk r0nX|jddS(NisFailed to raise TypeError(R RR@R4R5(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__noniterables   cCs&tj}|jt|jddS(Ni(R Rt assertRaisesR4R;(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__noncallables cCs?tj}|jt|jt|jt|jtjdS(N(R RRDR4R;R(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__casesuiteclasss cCs&tj}|jt|jddS(Ntfoo(R RRDR4R@(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTests__string"s cCs9d}tj}|j||jtjdS(NcSsdS(N((t_((s0/usr/lib64/python2.7/unittest/test/test_suite.pytf's(R RR;R0t TestResult(RRJR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_function_in_suite&s   csDdtjfdY}dtffdYd|_tjd<|jtjjdtj}|j |d|dg|j |j dtj }|j ||jj|jj|j|j|j|j|j t|jd|j t|jd |j |jddS( NRcBsDeZeZeZedZedZdZdZ RS(cSs t|_dS(N(tTruetwasSetUp(tcls((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt setUpClass5scSs t|_dS(N(RMt wasTornDown(RO((s0/usr/lib64/python2.7/unittest/test/test_suite.pyt tearDownClass8scSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttestPass;scSstdS(N(R5(R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttestFail=s( R R tFalseRNRQt classmethodRPRRRSRT(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR2s  tModulecs>eZeZeZefdZefdZRS(cs t_dS(N(RMRN((RW(s0/usr/lib64/python2.7/unittest/test/test_suite.pyt setUpModuleBscs t_dS(N(RMRQ((RW(s0/usr/lib64/python2.7/unittest/test/test_suite.pyttearDownModuleEs(R R RURNRQt staticmethodRXRY((RW(s0/usr/lib64/python2.7/unittest/test/test_suite.pyRW?sRSRTiii(R R tobjectR tsystmodulest addCleanuptpopt BaseTestSuiteR@RRRKR0t assertFalseRNRQtlenterrorstfailuresttestsRun(RRRR2((RWs0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_basetestsuite1s"      cCsudtjfdY}|}tj}tj}|j||||j|j|j|jdS(NtMySuitecBseZeZdZRS(c_s#t|_tjj|||dS(N(RMtcalledR Rt__call__(Rtargstkw((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRi_s (R R RURhRi(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRg]s(R RRKR;t assertTrueRhRat_testRunEntered(RRgRR2twrapper((s0/usr/lib64/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(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRs:         +t__main__( R R\tsupportRRR[RRR RR tmain(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyts   X