7ec@sddlZddlZddlmZmZdefdYZdZdejefdYZ e dkrej ndS( iN(t LoggingResultt TestEqualitytTestcBs!eZdejfdYZRS(tFoocBs,eZdZdZdZdZRS(cCsdS(N((tself((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_1 tcCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_2 RcCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_3RcCsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pytrunTestR(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.pytIRcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRJR(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^RcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR`R(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.pyRjRcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRkR(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.pyRRcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRRi(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%RcSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR&R(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.pyRRcSsdS(N(R(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRRR&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 RR1t 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(RR3(R2(s0/usr/lib64/python2.7/unittest/test/test_suite.pyR1scSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR%RcSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR&R(R R R1R%R&((R2(s0/usr/lib64/python2.7/unittest/test/test_suite.pyR8s R%R&s run test1s run test2(RR R RR1R(RR3R8R((R2s0/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*R(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*R(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.pyRRcSsdS(N((R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRR(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 RRAR5R6(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__noniterables   cCs&tj}|jt|jddS(Ni(R Rt assertRaisesR5R<(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__noncallables cCs?tj}|jt|jt|jt|jtjdS(N(R RRER5R<R(RR((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_addTest__casesuiteclasss cCs&tj}|jt|jddS(Ntfoo(R RRER5RA(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<R1t TestResult(RRKR((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(RNt wasTornDown(RP((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(R6(R((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttestFail=s( R R tFalseRORRt classmethodRQRSRTRU(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyR2s  tModulecs>eZeZeZefdZefdZRS(cs t_dS(N(RNRO((RX(s0/usr/lib64/python2.7/unittest/test/test_suite.pyt setUpModuleBscs t_dS(N(RNRR((RX(s0/usr/lib64/python2.7/unittest/test/test_suite.pyttearDownModuleEs(R R RVRORRt staticmethodRYRZ((RX(s0/usr/lib64/python2.7/unittest/test/test_suite.pyRX?sRTRUiii(R R tobjectR tsystmodulest addCleanuptpopt BaseTestSuiteRARRRLR1t assertFalseRORRtlenterrorstfailuresttestsRun(RRRR3((RXs0/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(RNtcalledR Rt__call__(Rtargstkw((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRj_s (R R RVRiRj(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRh]s(R RRLR<t assertTrueRiRbt_testRunEntered(RRhRR3twrapper((s0/usr/lib64/python2.7/unittest/test/test_suite.pyttest_overriding_call\s     (R R R RRteq_pairstne_pairsRRR!R#R'R(R+R,R0R4R7R;R=R>RCRDRFRGRIRMRgRp(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyRs:         +t__main__( R R]tunittest.test.supportRRR\RRR RR tmain(((s0/usr/lib64/python2.7/unittest/test/test_suite.pyts   X