/usr/lib/python2.6/site-packages/nose/plugins
NameSizeModeActions
attrib.py78100644editdlrm
attrib.pyc74280644editdlrm
attrib.pyo74280644editdlrm
base.py313840644editdlrm
base.pyc368100644editdlrm
base.pyo368100644editdlrm
builtin.py7920644editdlrm
builtin.pyc13690644editdlrm
builtin.pyo13690644editdlrm
capture.py27800644editdlrm
capture.pyc45650644editdlrm
capture.pyo45650644editdlrm
cover.py64160644editdlrm
cover.pyc62130644editdlrm
cover.pyo62130644editdlrm
debug.py16790644editdlrm
debug.pyc24810644editdlrm
debug.pyo24810644editdlrm
deprecated.py16390644editdlrm
deprecated.pyc23850644editdlrm
deprecated.pyo23850644editdlrm
doctests.py91470644editdlrm
doctests.pyc98910644editdlrm
doctests.pyo98910644editdlrm
errorclass.py64380644editdlrm
errorclass.pyc80370644editdlrm
errorclass.pyo80370644editdlrm
failuredetail.py15640644editdlrm
failuredetail.pyc23340644editdlrm
failuredetail.pyo23340644editdlrm
isolate.py36740644editdlrm
isolate.pyc47290644editdlrm
isolate.pyo47290644editdlrm
manager.py143300644editdlrm
manager.pyc183700644editdlrm
manager.pyo183700644editdlrm
plugintest.py79940644editdlrm
plugintest.pyc96440644editdlrm
plugintest.pyo96440644editdlrm
prof.py47440644editdlrm
prof.pyc49330644editdlrm
prof.pyo49330644editdlrm
skip.py15720644editdlrm
skip.pyc22890644editdlrm
skip.pyo22890644editdlrm
testid.py48710644editdlrm
testid.pyc54790644editdlrm
testid.pyo54790644editdlrm
__init__.py81690644editdlrm
__init__.pyc84120644editdlrm
__init__.pyo84120644editdlrm
Edit: /usr/lib/python2.6/site-packages/nose/plugins/testid.pyo (5479B)
Ñò š}êGc @s³dZeZddkZddkZddklZddklZyddk l Z l Z Wn)e j oddk l Z l Z nXeieƒZdefd„ƒYZdS(s This plugin adds a test id (like #1) to each test name output. After you've run once to generate test ids, you can re-run individual tests by activating the plugin and passing the ids (with or without the # prefix) instead of test names. For example, if your normal test run looks like:: % nosetests -v tests.test_a ... ok tests.test_b ... ok tests.test_c ... ok When adding --with-id you'll see:: % nosetests -v --with-id #1 tests.test_a ... ok #2 tests.test_b ... ok #2 tests.test_c ... ok Then you can rerun individual tests by supplying just the id numbers:: % nosetests -v --with-id 2 #2 tests.test_b ... ok Then you can rerun individual tests by supplying just the id numbers:: % nosetests -v --with-id 2 3 #2 tests.test_b ... ok #3 tests.test_c ... ok Since most shells consider '#' a special character, you can leave it out when specifying a test id. iÿÿÿÿN(tPlugin(tsrc(tdumptloadtTestIdcBskeZdZdZd ZeZd„Zd„Z d„Z d d„Z d„Z d„Z d„Zd „ZRS( s Activate to add a test id (like #1) to each test name output. After you've run once to generate test ids, you can re-run individual tests by activating the plugin and passing the ids (with or without the # prefix) instead of test names. tidc Cs<ti|||ƒ|iddddddddd ƒdS( Ns --id-filetactiontstoretdestt testIdFiletdefaults.noseidsthelpsfStore test ids found in test runs in this file. Default is the file .noseids in the working directory.(Rtoptionst add_option(tselftparsertenv((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pyR <scCs‹ti|||ƒtii|iƒ|_tii|iƒp"tii|i |iƒ|_nd|_ h|_ h|_ h|_ dS(Ni(Rt configuretostpatht expanduserR tidfiletisabstjoint workingDirRtidsttestst_seen(RR tconf((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pyRDs"   cCsx|iojt|idƒ}tt|iiƒ|iiƒƒƒ}t||ƒ|i ƒt i d||iƒndS(NtwsSaved test ids: %s to %s( t shouldSavetopenRtdicttzipRtvaluestkeysRtclosetlogtdebug(RtresulttfhR((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pytfinalizeRs  '  cCsÙtid||ƒyHt|idƒ}t|ƒ|_tid|i|iƒ|iƒWn'tj otid|iƒdSXdt |i |ƒf}|i p.t t |iiƒ|iiƒƒƒ|_n|S(sTranslate ids in the list of requested names into their test addresses, if they are found in my dict of tests. s ltfn %s %strsLoaded test ids %s from %ssIO error reading %sN(R%R&RRRRR$tIOErrortNonetmapttrRR R!R"R#R(RtnamestmoduleR(R'((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pytloadTestsFromNames[s .cCsbtid|ƒ|\}}}|dj ot|ƒ}n|}|dj od||fS|S(Ns Make name %ss%s:%s(R%R&R,R(RtaddrtfilenameR0tcallthead((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pytmakeNamers  cCs ||_dS(N(tstream(RR7((s7/usr/lib/python2.6/site-packages/nose/plugins/testid.pytsetOutputStream}scCs±|iƒ}||ijo[|ip||ijo|iidƒn)|iid|i|ƒd|i|"s