/opt/alt/python27/lib/python2.7/site-packages/nose
NameSizeModeActions
ext/-0755rm
plugins/-0755rm
sphinx/-0755rm
tools/-0755rm
case.py131710644editdlrm
case.pyc150950644editdlrm
case.pyo150950644editdlrm
commands.py63100644editdlrm
commands.pyc61500644editdlrm
commands.pyo61500644editdlrm
config.py252360644editdlrm
config.pyc242570644editdlrm
config.pyo242570644editdlrm
core.py130930644editdlrm
core.pyc134690644editdlrm
core.pyo134690644editdlrm
exc.py3760644editdlrm
exc.pyc5890644editdlrm
exc.pyo5890644editdlrm
failure.py12490644editdlrm
failure.pyc20000644editdlrm
failure.pyo20000644editdlrm
importer.py59780644editdlrm
importer.pyc57620644editdlrm
importer.pyo57620644editdlrm
inspector.py69860644editdlrm
inspector.pyc60920644editdlrm
inspector.pyo60920644editdlrm
loader.py254910644editdlrm
loader.pyc189420644editdlrm
loader.pyo188950644editdlrm
proxy.py68790644editdlrm
proxy.pyc83950644editdlrm
proxy.pyo81910644editdlrm
pyversion.py74240644editdlrm
pyversion.pyc95370644editdlrm
pyversion.pyo95370644editdlrm
result.py67110644editdlrm
result.pyc70750644editdlrm
result.pyo70750644editdlrm
selector.py90900644editdlrm
selector.pyc92670644editdlrm
selector.pyo92670644editdlrm
suite.py223410644editdlrm
suite.pyc224620644editdlrm
suite.pyo224620644editdlrm
twistedtools.py55250644editdlrm
twistedtools.pyc63190644editdlrm
twistedtools.pyo63190644editdlrm
usage.txt44250644editdlrm
util.py201370644editdlrm
util.pyc216160644editdlrm
util.pyo216160644editdlrm
__init__.py4040644editdlrm
__init__.pyc7020644editdlrm
__init__.pyo7020644editdlrm
__main__.py1440644editdlrm
__main__.pyc3620644editdlrm
__main__.pyo3620644editdlrm
Edit: /opt/alt/python27/lib/python2.7/site-packages/nose/core.pyc (13469B)
Ñò š3ëSc@sydZddklZddkZddkZddkZddkZddkZddkl Z l Z ddk l Z ddk lZlZlZddklZddklZdd klZlZeid ƒZeidjZd ddddddgZdeifd„ƒYZd eifd„ƒYZeZZ d„Z!dd„Z"d„Z#e$djo e ƒndS(s,Implements nose test program and collector. iÿÿÿÿ(t generatorsN(tConfigtall_config_files(tdefaultTestLoader(t PluginManagertDefaultPluginManagertRestrictedPluginManager(tTextTestResult(tFinalizingSuiteWrapper(tisclassttolists nose.coreiit TestProgramtmaintruntrun_exitt runmodulet collectortTextTestRunnercBs8eZdZeidddd„Zd„Zd„ZRS(sÉTest runner that uses nose's TextTestResult to enable errorClasses, as well as providing hooks for plugins to override or replace the test output stream, results, and the test case itself. icCs@|djo tƒ}n||_tii||||ƒdS(N(tNoneRtconfigtunittestRt__init__(tselftstreamt descriptionst verbosityR((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyR s   cCst|i|i|i|iƒS(N(RRRRR(R((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyt _makeResult(s cCs×|iii|ƒ}|dj o |}n|iii|iƒ}|dj o ||_n|iƒ}tiƒ}y||ƒWntj onXtiƒ}|i ƒ|i ||ƒ|iii |ƒ|S(saOverrides to provide plugin hooks and defer all output to the test result class. N( Rtpluginst prepareTestRtsetOutputStreamRRttimetKeyboardInterruptt printErrorst printSummarytfinalize(Rttesttwrappertwrappedtresulttstarttstop((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyR .s"        N( t__name__t __module__t__doc__tsyststderrRRRR (((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRs    c BseZdZdZd dd d d d d d ed d d„ Zd d„Zd d„Zd„Z d„Z d„Z d „Z d „Z ee ƒZ RS( s¾Collect and run tests, returning success or failure. The arguments to TestProgram() are the same as to :func:`main()` and :func:`run()`: * module: All tests are in this module (default: None) * defaultTest: Tests to load (default: '.') * argv: Command line arguments (default: None; sys.argv is read) * testRunner: Test runner instance (default: None) * testLoader: Test loader instance (default: None) * env: Environment; ignored if config is provided (default: None; os.environ is read) * config: :class:`nose.config.Config` instance (default: None) * suite: Suite or list of tests to run (default: None). Passing a suite or lists of tests will bypass all test discovery and loading. *ALSO NOTE* that if you pass a unittest.TestSuite instance as the suite, context fixtures at the class, module and package level will not be used, and many plugin hooks will not be called. If you want normal nose behavior, either pass a list of tests, or a fully-configured :class:`nose.suite.ContextSuite`. * exit: Exit after running tests and printing report (default: True) * plugins: List of plugins to use; ignored if config is provided (default: load plugins with DefaultPluginManager) * addplugins: List of **extra** plugins to use. Pass a list of plugin instances in this argument to make custom plugins available while still using the DefaultPluginManager. it.c Csé|djo ti}n|djo|i|| ƒ}n| o|iid| ƒn||_||_| |_h} t i dd!} | d jo| d jo| | dParse argv and env and configure running environment. tdocs configured %siÿÿÿÿ(t __version__s %s version %siRstest loader is %ssdefaultTest %ssTest names are %sN(Rt configuretusagetlogtdebugtoptionsR?tnoseRHR,t __stdout__tstdoutR6tpathtbasenameR3R0t showPluginsR5RRR RtprepareTestLoadert testNamesR R2t workingDirtchdirt createTests(RR3RHt plug_loader((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyt parseArgsŽs4 "    cCs[tid|iƒ|idj o|ii|iƒ|_n|ii|iƒ|_dS(sÑCreate the tests to run. If a self.suite is set, then that suite will be used. Otherwise, tests will be loaded from the given test names (self.testNames) using the test loader. screateTests called with %sN( RKRLR:RR5t suiteClassR#tloadTestsFromNamesRU(R((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRXµscCsÊtidƒ|idjo1td|iid|iid|iƒ|_n|iii |iƒ}|dj o ||_n|ii |i ƒ}|i ƒ|_ |ioti|i ƒn|i S(soRun Tests. Returns true on success, false on failure, and sets self.success to the same value. srunTests calledRRRN(RKRLR4RRRRRRtprepareTestRunnerR R#t wasSuccessfultsuccessR0R,(Rt plug_runnerR&((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pytrunTestsÃs     c CsPddk}ddd„ƒY}|ii}|iiiƒx|iiD]}d|iGH|djoád|iGHdi|i|i ƒi ƒd d d d ƒƒGH|d jo”|ƒ}|i |ƒt |i ƒojHd GHxa|i D]R\}}ddi|ƒGH|o-di|i|i ƒd dd dƒƒGHqåqåWqCnHqHqHWdS(s)Print list of available plugins. iÿÿÿÿNt DummyParsercBseZd„Zd„ZRS(cSs g|_dS(N(RM(R((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRÛsc_s&|ii||iddƒfƒdS(Nthelpt(RMtappendtpop(Rtargtkw((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyt add_optionÝs(R)R*RRi(((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRbÚs s Plugin %sis score: %ss tinitial_indents tsubsequent_indentis Options:s %ss, s ((ttextwrapRRRtsorttnametscoretjointwrapRctstript addOptionstlenRM(RRlRbtvtptparsertoptsRc((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRSÕs6           cCsÈddk}y7|i}|itiitiitƒdƒƒ}Wn[tj oOt tiitiitƒdƒdƒ}z|i ƒ}Wd|i ƒXnXt |t ƒp|idƒ}n|S(Niÿÿÿÿs usage.txttrsutf-8(RNt __loader__tget_dataR6RQRptdirnamet__file__tAttributeErrortopentreadtcloset isinstancetstrtdecode(tclsRNtldttexttf((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyRJøs   N(R)R*R+RRtTrueRRCR8RZRXRaRSRJt classmethod(((s:/opt/alt/python27/lib/python2.7/site-packages/nose/core.pyR Hs    '   # cOst|ds0      -Ä  !