ó û^‚Rc@sZddlZddlZddlZdejfd„ƒYZedkrVejƒndS(iÿÿÿÿNtTest_TestLoadercBs‡eZd„Zd„Zd„Zd„Zd„Zd„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„Zd„Zd„Zd„Zd„Z d„Z!d „Z"d!„Z#d"„Z$d#„Z%d$„Z&d%„Z'd&„Z(d'„Z)d(„Z*d)„Z+d*„Z,d+„Z-d,„Z.d-„Z/d.„Z0d/„Z1d0„Z2d1„Z3d2„Z4d3„Z5d4„Z6d5„Z7d6„Z8d7„Z9d8„Z:d9„Z;d:„Z<d;„Z=d<„Z>d=„Z?d>„Z@d?„ZAd@„ZBdA„ZCdB„ZDdC„ZEdD„ZFdE„ZGdF„ZHRS(GcCscdtjfd„ƒY}tj|dƒ|dƒgƒ}tjƒ}|j|j|ƒ|ƒdS(NtFoocBs#eZd„Zd„Zd„ZRS(cSsdS(N((tself((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_1scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_2scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pytfoo_bars(t__name__t __module__RRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRs  RR(tunittesttTestCaset TestSuitet TestLoadert assertEqualtloadTestsFromTestCase(RRtteststloader((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_loadTestsFromTestCases! cCsNdtjfd„ƒY}tjƒ}tjƒ}|j|j|ƒ|ƒdS(NRcBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR s(RRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRs(RR R R R R (RRt empty_suiteR((s//usr/lib/python2.7/unittest/test/test_loader.pyt&test_loadTestsFromTestCase__no_matchess  cCs[dtjfd„ƒY}tjƒ}y|j|ƒWntk rInX|jdƒdS(Nt NotATestCasecBseZRS((RR(((s//usr/lib/python2.7/unittest/test/test_loader.pyR1ssShould raise TypeError(RR R R t TypeErrortfail(RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt.test_loadTestsFromTestCase__TestSuite_subclass0s  cCsƒdtjfd„ƒY}tjƒ}|jdj|jƒƒ|j|ƒ}|j||jƒ|j t |ƒ|dƒgƒdS(NRcBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pytrunTestDs(RRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRCsR( RR R t assertFalset startswithttestMethodPrefixR tassertIsInstancet suiteClassR tlist(RRRtsuite((s//usr/lib/python2.7/unittest/test/test_loader.pyt/test_loadTestsFromTestCase__default_method_nameBs  cCs”tjdƒ}dtjfd„ƒY}||_tjƒ}|j|ƒ}|j||jƒ|j|dƒgƒg}|j t |ƒ|ƒdS(Ntmt MyTestCasecBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyttestYs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!XsR"( ttypest ModuleTypeRR t testcase_1R tloadTestsFromModuleRRR R(RR R!RRtexpected((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromModule__TestCase_subclassVs  cCsWtjdƒ}tjƒ}|j|ƒ}|j||jƒ|jt|ƒgƒdS(NR ( R#R$RR R&RRR R(RR RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt/test_loadTestsFromModule__no_TestCase_instancesgs  cCs‚tjdƒ}dtjfd„ƒY}||_tjƒ}|j|ƒ}|j||jƒ|j t |ƒ|jƒgƒdS(NR R!cBseZRS((RR(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!ts( R#R$RR R%R R&RRR R(RR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromModule__no_TestCase_testsrs  cs…dtjfd„ƒY‰dtf‡fd†ƒY}tjƒ}|j|ƒ}tjˆdƒgƒg}|jt|ƒ|ƒdS(NR!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"Šs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!‰st NotAModulecseZˆZRS((RRR((R!(s//usr/lib/python2.7/unittest/test/test_loader.pyR+sR"(RR tobjectR R&R R R(RR+RRt reference((R!s//usr/lib/python2.7/unittest/test/test_loader.pyt&test_loadTestsFromModule__not_a_moduleˆs  csÈtjdƒ}dtjfd„ƒY}||_g‰‡‡fd†}||_tjƒ}|j|ƒ}ˆj|tj ƒˆj ˆ||dgƒg‰|j|dt ƒ}ˆj ˆgƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"œs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!›scs-ˆj|tjƒˆj|||fƒ|S(N(RRR textend(RRtpattern(tload_tests_argsR(s//usr/lib/python2.7/unittest/test/test_loader.pyt load_tests¡stuse_load_tests( R#R$RR R%R2R R&RR R tNonetFalse(RR R!R2RR((R1Rs//usr/lib/python2.7/unittest/test/test_loader.pyt$test_loadTestsFromModule__load_tests™s   cCstjdƒ}d„}||_tjƒ}|j|ƒ}|j|tjƒ|j|j ƒdƒt |ƒd}|j t d|j ƒdS(NR cSstdƒ‚dS(Ns some failure(R(RRR0((s//usr/lib/python2.7/unittest/test/test_loader.pyR2³siis some failure(R#R$R2RR R&RR R tcountTestCasesRtassertRaisesRegexpRR (RR R2RRR"((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromModule__faulty_load_tests°s   cCsZtjƒ}y|jdƒWn)tk rH}|jt|ƒdƒnX|jdƒdS(NtsEmpty module names7TestLoader.loadTestsFromName failed to raise ValueError(RR tloadTestsFromNamet ValueErrorR tstrR(RRte((s//usr/lib/python2.7/unittest/test/test_loader.pyt"test_loadTestsFromName__empty_nameËs  cCsRtjƒ}y|jdƒWn!tk r0ntk r@nX|jdƒdS(Ns abc () //s7TestLoader.loadTestsFromName failed to raise ValueError(RR R;R<t ImportErrorR(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt&test_loadTestsFromName__malformed_nameÛs   cCsZtjƒ}y|jdƒWn)tk rH}|jt|ƒdƒnX|jdƒdS(Nt sdasfasfasdfsNo module named sdasfasfasdfs8TestLoader.loadTestsFromName failed to raise ImportError(RR R;R@R R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromName__unknown_module_nameìs  cCsZtjƒ}y|jdƒWn)tk rH}|jt|ƒdƒnX|jdƒdS(Nsunittest.sdasfasfasdfs/'module' object has no attribute 'sdasfasfasdf's;TestLoader.loadTestsFromName failed to raise AttributeError(RR R;tAttributeErrorR R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt)test_loadTestsFromName__unknown_attr_nameüs  cCs]tjƒ}y|jdtƒWn)tk rK}|jt|ƒdƒnX|jdƒdS(NRBs/'module' object has no attribute 'sdasfasfasdf's;TestLoader.loadTestsFromName failed to raise AttributeError(RR R;RDR R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt-test_loadTestsFromName__relative_unknown_name s  cCsEtjƒ}y|jdtƒWntk r3nX|jdƒdS(NR:sFailed to raise AttributeError(RR R;RDR(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromName__relative_empty_name"s   cCsUtjƒ}y|jdtƒWn!tk r3ntk rCnX|jdƒdS(Ns abc () //s7TestLoader.loadTestsFromName failed to raise ValueError(RR R;R<RDR(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt/test_loadTestsFromName__relative_malformed_name5s   cs|dtjfd„ƒY‰dtf‡fd†ƒY}tjƒ}|jd|ƒ}ˆdƒg}|jt|ƒ|ƒdS(NR!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"Ms(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!LsR+cseZˆZRS((RRR((R!(s//usr/lib/python2.7/unittest/test/test_loader.pyR+PsRR"(RR R,R R;R R(RR+RRR-((R!s//usr/lib/python2.7/unittest/test/test_loader.pyt-test_loadTestsFromName__relative_not_a_moduleKs  cCs`tjdƒ}tƒ|_tjƒ}y|jd|ƒWntk rNnX|jdƒdS(NR R%sShould have raised TypeError( R#R$R,R%RR R;RR(RR R((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromName__relative_bad_object`s   cCs…tjdƒ}dtjfd„ƒY}||_tjƒ}|jd|ƒ}|j||jƒ|j t |ƒ|dƒgƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"qs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!psR%R"( R#R$RR R%R R;RRR R(RR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt2test_loadTestsFromName__relative_TestCase_subclassns  cCs—tjdƒ}dtjfd„ƒY}tj|dƒgƒ|_tjƒ}|jd|ƒ}|j||j ƒ|j t |ƒ|dƒgƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!€sR"t testsuite( R#R$RR R RLR R;RRR R(RR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt*test_loadTestsFromName__relative_TestSuite~s cCs…tjdƒ}dtjfd„ƒY}||_tjƒ}|jd|ƒ}|j||jƒ|j t |ƒ|dƒgƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!sstestcase_1.testR"( R#R$RR R%R R;RRR R(RR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromName__relative_testmethods  cCsŽtjdƒ}dtjfd„ƒY}||_tjƒ}y|jd|ƒWn)tk r|}|jt |ƒdƒnX|j dƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"¥s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!¤sstestcase_1.testfoos3type object 'MyTestCase' has no attribute 'testfoo'sFailed to raise AttributeError( R#R$RR R%R R;RDR R=R(RR R!RR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt3test_loadTestsFromName__relative_invalid_testmethod¢s  csŸtjdƒ}tjd„ƒ‰tjd„ƒ‰‡‡fd†}||_tjƒ}|jd|ƒ}|j||jƒ|j t |ƒˆˆgƒdS(NR cSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pytµscSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRP¶scstjˆˆgƒS(N(RR ((R%t testcase_2(s//usr/lib/python2.7/unittest/test/test_loader.pytreturn_TestSuite·sRR( R#R$RtFunctionTestCaseRRR R;RRR R(RR RRRR((R%RQs//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromName__callable__TestSuite³s  cs‡tjdƒ}tjd„ƒ‰‡fd†}||_tjƒ}|jd|ƒ}|j||jƒ|j t |ƒˆgƒdS(NR cSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRPÄscsˆS(N(((R%(s//usr/lib/python2.7/unittest/test/test_loader.pytreturn_TestCaseÅsRU( R#R$RRSRUR R;RRR R(RR RURR((R%s//usr/lib/python2.7/unittest/test/test_loader.pyt3test_loadTestsFromName__callable__TestCase_instanceÂs  cs©dtjfd„ƒY}tjdƒ}tjd„ƒ‰‡fd†}||_tjƒ}||_|jd|ƒ}|j ||jƒ|j t |ƒˆgƒdS(Nt SubTestSuitecBseZRS((RR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRWÔsR cSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRP×scsˆS(N(((R%(s//usr/lib/python2.7/unittest/test/test_loader.pyRUØsRU( RR R#R$RSRUR RR;RR R(RRWR RURR((R%s//usr/lib/python2.7/unittest/test/test_loader.pytDtest_loadTestsFromName__callable__TestCase_instance_ProperSuiteClassÓs   cCs§dtjfd„ƒY}tjdƒ}dtjfd„ƒY}||_tjƒ}||_|jd|ƒ}|j ||jƒ|j t |ƒ|dƒgƒdS(NRWcBseZRS((RR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRWèsR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"ìs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!ësstestcase_1.testR"( RR R#R$R R%R RR;RR R(RRWR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt<test_loadTestsFromName__relative_testmethod_ProperSuiteClassçs   cCsftjdƒ}d„}||_tjƒ}y|jd|ƒWntk rTnX|jdƒdS(NR cSsdS(Ni((((s//usr/lib/python2.7/unittest/test/test_loader.pyt return_wrongýsRZs6TestLoader.loadTestsFromName failed to raise TypeError(R#R$RZRR R;RR(RR RZR((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromName__callable__wrong_typeûs    cCs˜d}tjj|dƒtjƒ}zO|j|ƒ}|j||jƒ|j t |ƒgƒ|j |tjƒWd|tjkr“tj|=nXdS(Nsunittest.test.dummy( tsystmodulestpopR4RR R;RRR RtassertIn(Rt module_nameRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt)test_loadTestsFromName__module_not_loaded s cCsHtjƒ}|jgƒ}|j||jƒ|jt|ƒgƒdS(N(RR tloadTestsFromNamesRRR R(RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt(test_loadTestsFromNames__empty_name_list)s cCsKtjƒ}|jgtƒ}|j||jƒ|jt|ƒgƒdS(N(RR RbRRR R(RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt1test_loadTestsFromNames__relative_empty_name_list8s cCs]tjƒ}y|jdgƒWn)tk rK}|jt|ƒdƒnX|jdƒdS(NR:sEmpty module names8TestLoader.loadTestsFromNames failed to raise ValueError(RR RbR<R R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt#test_loadTestsFromNames__empty_nameEs  cCsUtjƒ}y|jdgƒWn!tk r3ntk rCnX|jdƒdS(Ns abc () //s8TestLoader.loadTestsFromNames failed to raise ValueError(RR RbR<R@R(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt'test_loadTestsFromNames__malformed_nameUs   cCs]tjƒ}y|jdgƒWn)tk rK}|jt|ƒdƒnX|jdƒdS(NRBsNo module named sdasfasfasdfs9TestLoader.loadTestsFromNames failed to raise ImportError(RR RbR@R R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromNames__unknown_module_namehs  cCs`tjƒ}y|jddgƒWn)tk rN}|jt|ƒdƒnX|jdƒdS(Nsunittest.sdasfasfasdfRs/'module' object has no attribute 'sdasfasfasdf's<TestLoader.loadTestsFromNames failed to raise AttributeError(RR RbRDR R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt*test_loadTestsFromNames__unknown_attr_namexs  cCs`tjƒ}y|jdgtƒWn)tk rN}|jt|ƒdƒnX|jdƒdS(NRBs/'module' object has no attribute 'sdasfasfasdf's;TestLoader.loadTestsFromName failed to raise AttributeError(RR RbRDR R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt0test_loadTestsFromNames__unknown_name_relative_1‹s  cCsctjƒ}y|jddgtƒWn)tk rQ}|jt|ƒdƒnX|jdƒdS(NR RBs/'module' object has no attribute 'sdasfasfasdf's;TestLoader.loadTestsFromName failed to raise AttributeError(RR RbRDR R=R(RRR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt0test_loadTestsFromNames__unknown_name_relative_2žs  cCsHtjƒ}y|jdgtƒWntk r6nX|jdƒdS(NR:sFailed to raise ValueError(RR RbRDR(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromNames__relative_empty_name³s   cCsXtjƒ}y|jdgtƒWn!tk r6ntk rFnX|jdƒdS(Ns abc () //s8TestLoader.loadTestsFromNames failed to raise ValueError(RR RbRDR<R(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt0test_loadTestsFromNames__relative_malformed_nameÅs   cs‹dtjfd„ƒY‰dtf‡fd†ƒY}tjƒ}|jdg|ƒ}tjˆdƒgƒg}|jt|ƒ|ƒdS(NR!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"Ûs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!ÚsR+cseZˆZRS((RRR((R!(s//usr/lib/python2.7/unittest/test/test_loader.pyR+ÞsRR"(RR R,R RbR R R(RR+RRR-((R!s//usr/lib/python2.7/unittest/test/test_loader.pyt.test_loadTestsFromNames__relative_not_a_moduleÙs  cCsctjdƒ}tƒ|_tjƒ}y|jdg|ƒWntk rQnX|jdƒdS(NR R%sShould have raised TypeError( R#R$R,R%RR RbRR(RR R((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromNames__relative_bad_objectîs   cCsštjdƒ}dtjfd„ƒY}||_tjƒ}|jdg|ƒ}|j||jƒ|j|dƒgƒ}|j t |ƒ|gƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"ÿs(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!þsR%R"( R#R$RR R%R RbRRR R(RR R!RRR'((s//usr/lib/python2.7/unittest/test/test_loader.pyt3test_loadTestsFromNames__relative_TestCase_subclassüs  cCs—tjdƒ}dtjfd„ƒY}tj|dƒgƒ|_tjƒ}|jdg|ƒ}|j||j ƒ|j t |ƒ|jgƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!sR"RL( R#R$RR R RLR RbRRR R(RR R!RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_loadTestsFromNames__relative_TestSuite s cCsštjdƒ}dtjfd„ƒY}||_tjƒ}|jdg|ƒ}|j||jƒtj |dƒgƒ}|j t |ƒ|gƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!sstestcase_1.testR"( R#R$RR R%R RbRRR R R(RR R!RRt ref_suite((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromNames__relative_testmethods  cCs‘tjdƒ}dtjfd„ƒY}||_tjƒ}y|jdg|ƒWn)tk r}|jt |ƒdƒnX|j dƒdS(NR R!cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"1s(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyR!0sstestcase_1.testfoos3type object 'MyTestCase' has no attribute 'testfoo'sFailed to raise AttributeError( R#R$RR R%R RbRDR R=R(RR R!RR>((s//usr/lib/python2.7/unittest/test/test_loader.pyt4test_loadTestsFromNames__relative_invalid_testmethod.s  cs´tjdƒ}tjd„ƒ‰tjd„ƒ‰‡‡fd†}||_tjƒ}|jdg|ƒ}|j||jƒtj ˆˆgƒ}|j t |ƒ|gƒdS(NR cSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRPAscSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRPBscstjˆˆgƒS(N(RR ((R%RQ(s//usr/lib/python2.7/unittest/test/test_loader.pyRRCsRR( R#R$RRSRRR RbRRR R R(RR RRRRR'((R%RQs//usr/lib/python2.7/unittest/test/test_loader.pyt,test_loadTestsFromNames__callable__TestSuite?s  csœtjdƒ}tjd„ƒ‰‡fd†}||_tjƒ}|jdg|ƒ}|j||jƒtj ˆgƒ}|j t |ƒ|gƒdS(NR cSsdS(N(R4(((s//usr/lib/python2.7/unittest/test/test_loader.pyRPRscsˆS(N(((R%(s//usr/lib/python2.7/unittest/test/test_loader.pyRUSsRU( R#R$RRSRUR RbRRR R R(RR RURRRq((R%s//usr/lib/python2.7/unittest/test/test_loader.pyt4test_loadTestsFromNames__callable__TestCase_instancePs  cs¿tjdƒ}dtjfd„ƒY}|dƒ‰dtjf‡fd†ƒY}||_tjƒ}|jdg|ƒ}|j||jƒtj ˆgƒ}|j t |ƒ|gƒdS(NR tTest1cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR"es(RRR"(((s//usr/lib/python2.7/unittest/test/test_loader.pyRvdsR"RcseZe‡fd†ƒZRS(csˆS(N(((R%(s//usr/lib/python2.7/unittest/test/test_loader.pytfoojs(RRt staticmethodRw((R%(s//usr/lib/python2.7/unittest/test/test_loader.pyRissFoo.foo( R#R$RR RR RbRRR R R(RR RvRRRRq((R%s//usr/lib/python2.7/unittest/test/test_loader.pyt4test_loadTestsFromNames__callable__call_staticmethodbs   cCsitjdƒ}d„}||_tjƒ}y|jdg|ƒWntk rWnX|jdƒdS(NR cSsdS(Ni((((s//usr/lib/python2.7/unittest/test/test_loader.pyRZ|sRZs7TestLoader.loadTestsFromNames failed to raise TypeError(R#R$RZRR RbRR(RR RZR((s//usr/lib/python2.7/unittest/test/test_loader.pyt-test_loadTestsFromNames__callable__wrong_typezs    cCs¤d}tjj|dƒtjƒ}z[|j|gƒ}|j||jƒ|j t |ƒtj ƒgƒ|j |tjƒWd|tjkrŸtj|=nXdS(Nsunittest.test.dummy( R\R]R^R4RR RbRRR RR R_(RR`RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt*test_loadTestsFromNames__module_not_loadedŠs cCsHdtjfd„ƒY}tjƒ}|j|j|ƒddgƒdS(NtTestcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRªscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR«scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pytfoobar¬s(RRRRR}(((s//usr/lib/python2.7/unittest/test/test_loader.pyR|©s  RR(RR R R tgetTestCaseNames(RR|R((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_getTestCaseNames¨s cCsBdtjfd„ƒY}tjƒ}|j|j|ƒgƒdS(NR|cBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR}·s(RRR}(((s//usr/lib/python2.7/unittest/test/test_loader.pyR|¶s(RR R R R~(RR|R((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_getTestCaseNames__no_testsµs cCsHdtfd„ƒY}tjƒ}|j|ƒ}|j|dgƒdS(NtBadCasecBseZd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_fooÇs(RRR‚(((s//usr/lib/python2.7/unittest/test/test_loader.pyRÆsR‚(tintRR R~R (RRRtnames((s//usr/lib/python2.7/unittest/test/test_loader.pyt%test_getTestCaseNames__not_a_TestCaseÅs cCsgdtjfd„ƒY}d|fd„ƒY}tjƒ}dddg}|j|j|ƒ|ƒdS(NtTestPcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR×scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRØscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR}Ùs(RRRRR}(((s//usr/lib/python2.7/unittest/test/test_loader.pyR†Ös  tTestCcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÜscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_3Ýs(RRRRˆ(((s//usr/lib/python2.7/unittest/test/test_loader.pyR‡Ûs RRRˆ(RR R R R~(RR†R‡RR„((s//usr/lib/python2.7/unittest/test/test_loader.pyt"test_getTestCaseNames__inheritanceÕs  cCs¦dtjfd„ƒY}tj|dƒgƒ}tj|dƒ|dƒgƒ}tjƒ}d|_|j|j|ƒ|ƒd|_|j|j|ƒ|ƒdS(NRcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRñscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRòscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRós(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRðs  RRRRwR"(RR R R RR R (RRttests_1ttests_2R((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_testMethodPrefix__loadTestsFromTestCaseïs!   cCsÐtjdƒ}dtjfd„ƒY}||_tj|dƒgƒg}tj|dƒ|dƒgƒg}tjƒ}d|_|jt |j |ƒƒ|ƒd|_|jt |j |ƒƒ|ƒdS( NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR s(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRs  RRRRwR"( R#R$RR RR R RR RR&(RR RRŠR‹R((s//usr/lib/python2.7/unittest/test/test_loader.pyt*test_testMethodPrefix__loadTestsFromModules $   cCsÄtjdƒ}dtjfd„ƒY}||_tj|dƒgƒ}tj|dƒ|dƒgƒ}tjƒ}d|_|j|j d|ƒ|ƒd|_|j|j d|ƒ|ƒdS( NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR s(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRs  RRRRwR"( R#R$RR RR R RR R;(RR RRŠR‹R((s//usr/lib/python2.7/unittest/test/test_loader.pyt(test_testMethodPrefix__loadTestsFromNames !   cCsètjdƒ}dtjfd„ƒY}||_tjtj|dƒgƒgƒ}tj|dƒ|dƒgƒ}tj|gƒ}tjƒ}d|_|j|j dg|ƒ|ƒd|_|j|j dg|ƒ|ƒdS( NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR5scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR6scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR7s(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyR4s  RRRRwR"( R#R$RR RR R RR Rb(RR RRŠR‹R((s//usr/lib/python2.7/unittest/test/test_loader.pyt)test_testMethodPrefix__loadTestsFromNames2s $!   cCs&tjƒ}|j|jdkƒdS(NR"(RR t assertTrueR(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt$test_testMethodPrefix__default_valueFs cCsud„}dtjfd„ƒY}tjƒ}||_|j|dƒ|dƒgƒ}|j|j|ƒ|ƒdS(NcSst||ƒ S(N(tcmp(txty((s//usr/lib/python2.7/unittest/test/test_loader.pyt reversed_cmpSsRcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRWscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRXs(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRVs RR(RR R tsortTestMethodsUsingRR R (RR•RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt0test_sortTestMethodsUsing__loadTestsFromTestCaseRs    !cCs–d„}tjdƒ}dtjfd„ƒY}||_tjƒ}||_|j|dƒ|dƒgƒg}|jt |j |ƒƒ|ƒdS(NcSst||ƒ S(N(R’(R“R”((s//usr/lib/python2.7/unittest/test/test_loader.pyR•csR RcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRhscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRis(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRgs RR( R#R$RR RR R–RR RR&(RR•R RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt.test_sortTestMethodsUsing__loadTestsFromModulebs    $cCsd„}tjdƒ}dtjfd„ƒY}||_tjƒ}||_|j|dƒ|dƒgƒ}|j|j d|ƒ|ƒdS(NcSst||ƒ S(N(R’(R“R”((s//usr/lib/python2.7/unittest/test/test_loader.pyR•usR RcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRzscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR{s(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRys RR( R#R$RR RR R–RR R;(RR•R RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt,test_sortTestMethodsUsing__loadTestsFromNamets    !cCsœd„}tjdƒ}dtjfd„ƒY}||_tjƒ}||_|j|dƒ|dƒgƒg}|jt |j dg|ƒƒ|ƒdS(NcSst||ƒ S(N(R’(R“R”((s//usr/lib/python2.7/unittest/test/test_loader.pyR•‡sR RcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRŒscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRs(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyR‹s RR( R#R$RR RR R–RR RRb(RR•R RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt-test_sortTestMethodsUsing__loadTestsFromNames†s    $cCs`d„}dtjfd„ƒY}tjƒ}||_ddg}|j|j|ƒ|ƒdS(NcSst||ƒ S(N(R’(R“R”((s//usr/lib/python2.7/unittest/test/test_loader.pyR•›sRcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRŸscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR s(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRžs RR(RR R R–R R~(RR•RRt test_names((s//usr/lib/python2.7/unittest/test/test_loader.pyt+test_sortTestMethodsUsing__getTestCaseNamesšs     cCs&tjƒ}|j|jtkƒdS(N(RR RR–R’(RR((s//usr/lib/python2.7/unittest/test/test_loader.pyt(test_sortTestMethodsUsing__default_value©s cCscdtjfd„ƒY}tjƒ}d|_ddg}|jt|j|ƒƒt|ƒƒdS(NRcBseZd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR³scSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyR´s(RRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyR²s RR(RR R R4R–R tsetR~(RRRR›((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_sortTestMethodsUsing__None±s    cCscdtjfd„ƒY}|dƒ|dƒg}tjƒ}t|_|j|j|ƒ|ƒdS(NRcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÅscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÆscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÇs(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRÄs  RR(RR R RRR R (RRRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt&test_suiteClass__loadTestsFromTestCaseÃs   cCs~tjdƒ}dtjfd„ƒY}||_|dƒ|dƒgg}tjƒ}t|_|j|j |ƒ|ƒdS(NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÔscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÕscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRÖs(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRÓs  RR( R#R$RR RR RRR R&(RR RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt$test_suiteClass__loadTestsFromModuleÑs   cCs~tjdƒ}dtjfd„ƒY}||_|dƒ|dƒg}tjƒ}t|_|j|j d|ƒ|ƒdS(NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRäscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRåscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRæs(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRãs  RR( R#R$RR RR RRR R;(RR RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt"test_suiteClass__loadTestsFromNameás   cCs„tjdƒ}dtjfd„ƒY}||_|dƒ|dƒgg}tjƒ}t|_|j|j dg|ƒ|ƒdS(NR RcBs#eZd„Zd„Zd„ZRS(cSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRôscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRõscSsdS(N((R((s//usr/lib/python2.7/unittest/test/test_loader.pyRös(RRRRR(((s//usr/lib/python2.7/unittest/test/test_loader.pyRós  RR( R#R$RR RR RRR Rb(RR RRR((s//usr/lib/python2.7/unittest/test/test_loader.pyt#test_suiteClass__loadTestsFromNamesñs   cCs)tjƒ}|j|jtjkƒdS(N(RR RRR (RR((s//usr/lib/python2.7/unittest/test/test_loader.pyttest_suiteClass__default_values (IRRRRRRR(R)R*R.R6R9R?RARCRERFRGRHRIRJRKRMRNRORTRVRXRYR[RaRcRdReRfRgRhRiRjRkRlRmRnRoRpRrRsRtRuRyRzR{RR€R…R‰RŒRRŽRR‘R—R˜R™RšRœRRŸR R¡R¢R£R¤(((s//usr/lib/python2.7/unittest/test/test_loader.pyRsŽ                                                                  t__main__(R\R#RR RRtmain(((s//usr/lib/python2.7/unittest/test/test_loader.pyts   ÿÿÿÿÿ