/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/proxy.pyo (8191B)
Ñò Z®SSc@sjdZddkZddklZeieƒZd„Zdefd„ƒYZ defd„ƒYZ dS( s— Result Proxy ------------ The result proxy wraps the result instance given to each test. It performs two functions: enabling extended error/failure reporting and calling plugins. As each result event is fired, plugins are called with the same event; however, plugins are called with the nose.case.Test instance that wraps the actual test. So when a test fails and calls result.addFailure(self, err), the result proxy calls addFailure(self.test, err) for each plugin. This allows plugins to have a single stable interface for all test types, and also to manipulate the test object itself by setting the `test` attribute of the nose.case.Test that they receive. iÿÿÿÿN(tConfigcsI‡‡fd†}‡‡fd†}‡‡fd†}t||||ƒS(snCreate a property that proxies attribute ``proxied_attr`` through the local attribute ``local_attr``. cstt|ˆƒˆƒS(N(tgetattr(tself(t proxied_attrt local_attr(s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pytfgetscstt|ˆƒˆ|ƒdS(N(tsetattrR(Rtvalue(RR(s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pytfsetscstt|ˆƒˆƒdS(N(tdelattrR(R(RR(s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pytfdel!s(tproperty(RRtdocRRR ((RRs;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pytproxied_attributestResultProxyFactorycBs#eZdZdd„Zd„ZRS(srFactory for result proxies. Generates a ResultProxy bound to each test and the result passed to the test. cCs9|djo tƒ}n||_t|_d|_dS(N(tNoneRtconfigtFalset_ResultProxyFactory__preparedt_ResultProxyFactory__result(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyt__init__*s     cCs}|ip@t|_|iii|ƒ}|dj o||_}qJn|idj o |i}nt||d|iƒS(sReturn a ResultProxy for the current test. On first call, plugins are given a chance to replace the result used for the remaining tests. If a plugin returns a value from prepareTestResult, that object will be used as the result for all tests. RN(RtTrueRtpluginstprepareTestResultRRt ResultProxy(Rtresultttestt plug_result((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyt__call__1s    N(t__name__t __module__t__doc__RRR(((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR&s RcBsÎeZdZdd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z d „Zd „Zd „ZedddƒZedddƒZedddƒZedddƒZRS(sgProxy to TestResults (or other results handler). One ResultProxy is created for each nose.case.Test. The result proxy calls plugins with the nose.case.Test instance (instead of the wrapped test case) as each result call is made. Finally, the real result method is called, also with the nose.case.Test instance as the test parameter. cCsE|djo tƒ}n||_|i|_||_||_dS(N(RRRRRR(RRRR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyRMs      cCs t|iƒS(N(treprR(R((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyt__repr__UscCsnt|dtƒ oUt|dtƒoAt|ditfhƒ|dƒ}|d||df}n|S(Niii(t isinstancet ExceptionttypeR(RterrR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyt _prepareErrXs)&cCst|iddƒ}dS(NR(RRR(RRtcase((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyt assertMyTestbscCsN|i|ƒ|ii|iƒt|idƒo|ii|iƒndS(Nt afterTest(R(RR)RthasattrR(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR)ms cCsN|i|ƒ|ii|iƒt|idƒo|ii|iƒndS(Nt beforeTest(R(RR+RR*R(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR+ss cCsÄ|i|ƒ|i}|i|i|ƒ}|odS|i|i|ƒ}|dj o |}n|i|i|ƒ|ii|i|i|ƒƒ|ii ƒ o|i i o t |_ ndS(N(R(Rt handleErrorRt formatErrorRtaddErrorRR&t wasSuccessfulRt stopOnErrorRt shouldStop(RRR%Rtplugin_handledt formatted((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR.ys    cCs¿|i|ƒ|i}|i|i|ƒ}|odSt|i_|i|i|ƒ}|dj o |}n|i|i|ƒ|i i|i|i |ƒƒ|i i o t |_ndS(N(R(Rt handleFailureRRtpassedt formatFailureRt addFailureRR&RR0RR1(RRR%RR2R3((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR7ˆs      cCs|ddkl}|i|ƒ|i}t|tƒpt|ƒ}n|i|i||dfƒ|i i |i|ƒdS(Niÿÿÿÿ(tSkipTest( tnose.plugins.skipR8R(RR"R#R.RRRtaddSkip(RRtreasonR8R((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR:—s  cCs7|i|ƒ|ii|iƒ|ii|iƒdS(N(R(Rt addSuccessRR(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR<¢s cCs7|i|ƒ|ii|iƒ|ii|iƒdS(N(R(Rt startTestRR(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR=§s cCs|iiƒdS(N(Rtstop(R((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR>¬scCs7|i|ƒ|ii|iƒ|ii|iƒdS(N(R(RtstopTestRR(RR((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyR?¯s RR1sShould the test run stop?terrorssTests that raised an exceptiontfailuressTests that failedttestsRunsNumber of tests runN(RRRRRR!R&R(R)R+R.R7R:R<R=R>R?R R1R@RARB(((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyRCs,                  ( Rtloggingt nose.configRt getLoggerRtlogR tobjectRR(((s;/opt/alt/python27/lib/python2.7/site-packages/nose/proxy.pyts