config root man

Current Path : /usr/local/lib/python2.5/bsddb/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/bsddb/test/test_associate.pyo

hRc@sMdZddkZddkZddkZddkZddkZddklZy ddklZl	Z	dZ
Wnej
o
dZ
nXddkZddk
lZyddklZlZWn)ej
oddklZlZnXhdd<dd<dd<dd<dd<dd<dd<dd!<dd$<dd'<dd*<dd-<dd0<dd3<dd6<dd9<dd<<dd?<ddA<ddC<ddE<ddG<ddJ<ddL<ddN<ddP<ddR<ddT<ddV<ddX<ddZ<dd^<dd`<ddb<ddd<ddf<ddh<ddk<ddm<ddq<dds<ddu<ddx<ddz<dd|<dd<dd<dd<dd<dd<dd<dd<dd<dd<dd<ZdeifdYZdeifdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZ defdYZ!defdYZ"dZ#e$djoei%ddndS(s
TestCases for DB.associate.
iN(tpprint(tThreadt
currentThreadii(tverbose(tdbtdbshelvesBad EnglishsThe Price Of LovetRocksDNA featuring Suzanne VegasTom's DinerisGeorge MichaelsPraying For TimeisGloria EstefansHere We AreisLinda RonstadtsDon't Know MuchisMichael Boltons%How Am I Supposed To Live Without YoutBluesis
Paul YoungsOh GirlisPaula AbdulsOpposites AttractisRichard MarxsShould've Known Betteri	sRod Stewarts
Forever Youngi
tRoxettet	Dangerousis
Sheena EastonsThe Lover In MeisSinead O'ConnorsNothing Compares 2 Ui
s	Stevie B.sBecause I Love YouisTaylor DaynesLove Will Lead You BackisThe Bangless
Eternal FlameisWilson Phillipss
Release Meis
Billy JoelsBlonde Over BlueisFamous Last WordsisLullabye (Goodnight, My Angel)isThe River Of DreamsisTwo Thousand Yearsis
Janet JacksontAlrightis	Black CatisCome Back To MeitEscapadeis Love Will Never Do (Without You)is
Miss You Muchis
Rhythm NationisState Of The Worldis
The Knowledgeis
Spyro GyrasEnd of RomanticismtJazzi t
Heliopolisi!tJubileei"sLittle Lindai#s
Morning Dancei$sSong for Lorrainei%tYessOwner Of A Lonely Hearti&sRhythm Of Lovei'tCuscos
Dream CatchersNew Agei(sGeronimos Laughteri)sGhost Dancei*sBlue Man GrouptDrumbonei+sEndless Columni,sKlein Mandelbroti-sKenny Gt
Silhouettei.tSadesSmooth Operatori/sDavid Arkenstones(Papillon (On The Wings Of The Butterfly)i0sStepping Starsi1sCarnation Lily Lily Rosei2s
David LanzsBehind The Waterfalli3sCristofori's Dreami4tHeartsoundsi5sLeaves on the Seinei6sunknown artistsUnnamed songtUnknownictAssociateErrorTestCasecBs#eZdZdZdZRS(cCs|iid|_tiitiitidd}||_	yti
|Wnatij
oRddk}|itii|i	d}x |D]}ti
|qWnXti|_|ii|titiBdS(Ns.dbitdb_homeit*(t	__class__t__name__tfilenametostpathtjointdirnametsystargvthomeDirtmkdirterrortglobtremoveRtDBEnvtenvtopent	DB_CREATEt
DB_INIT_MPOOL(tselfR"R%tfilestfile((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pytsetUp\s(	!cCse|iid|_ddk}|itii|id}x|D]}ti|qJWdS(NiR(	R(tclosetNoneR%RRRR"R&(R,R%R-R.((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttearDownjs
	!cCsto dGddGHd|iiGHnti|i}|iti|i|i	dti
titi|i}|i|i	dti
tiyd}|i||Wn*ti
j
o|i|in#X|i|i|iddS(	Ns
s-=is%Running %s.test00_associateDBError...tprimaryt	secondarycSs||S(N((tatb((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pytfssDBError exception was expected(RRRRtDBR(t	set_flagstDB_DUPR)RtDB_BTREER*t	associatetDBErrorR0tfail(R,tdupDBtsecDBR7((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttest00_associateDBErrorss$
	


(Rt
__module__R/R2RA(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR[s			tAssociateTestCasecBs}eZdZdZdZdZdZddZddZ	dZ
dZdZd	Z
dd
ZdZRS(
ticCs|iid|_tiitiitidd}||_	yti
|Wnatij
oRddk}|itii|i	d}x |D]}ti
|qWnXti|_|ii|titiBtiBtiB|iBdS(Ns.dbiRiR(RRRRRRRR R!R"R#R$R%R&RR'R(R)R*R+tDB_INIT_LOCKt	DB_THREADtenvFlags(R,R"R%R-R.((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR/s(	!cCso|i|iid|_ddk}|itii|id}x|D]}ti	|qTWdS(NiR(
tcloseDBR(R0R1R%RRRR"R&(R,R%R-R.((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR2s

	!cCsmxftiD]X\}}t|itdjod|}n|i|ti|dd|q
WdS(NRDs%02dt|ttxn(t	musicdatatitemsttypetkeytypetputtstringR(R,tdRJtkeytvalue((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pytaddDataToDBs

cCsd|_d|_ti|i|_|iidtidjo:|ii	|i
d|ititi
B|iBd|n1|ii	|i
d|ititi
B|iBdS(NiiiR3RJ(ii(R1tcurR@RR8R(R3tset_get_returns_nonetversionR)RtdbtypeR*RFtdbFlags(R,RJ((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pytcreateDBs		"cCsb|io|iid|_n|io|iid|_n|iid|_dS(N(RUR0R1R@R3(R,((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRHs






cCs|iS(N(R3(R,((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pytgetDBscCsto dGddGHd|iiGHn|iti|i|_|iiti	|ii
d|ii|idti
titiB|iB|ii|i|i|i|i|i|idS(Ns
s-=is$Running %s.test01_associateWithDB...iR4(RRRRZRR8R(R@R9R:RVR)RR;R*RFRYR[R<tgetGenreRTtfinish_test(R,((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttest01_associateWithDBs

cCsto dGddGHd|iiGHn|i|i|iti|i|_	|i	i
ti|i	i|i
dtititiB|iB|ii|i	|iti|i|i	dS(Ns
s-=is%Running %s.test02_associateAfterDB...R4(RRRRZRTR[RR8R(R@R9R:R)RR;R*RFRYR<R\R](R,((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttest02_associateAfterDBs

"cCs|idd|}|idd|}|did|did|didto	dGHn|ii||_d}|ii}x[|dj	oMt|i	td	jon|d}to	|GHn|ii
}qWto	d
GHn|i||_d}|iiddti}|did|did|did|iidd
ddti
}|ii}x;|dj	o-|d}to	|GHn|ii
}qWd|_dS(NRRJRitUnnamedtunknownsPrimary key traversal:iRDsSecondary key traversal:tflagsitdataswrong value(tpgettindexRR[tcursorRUtfirstR1RMRNtnextRtDB_LASTtDB_GET_BOTH(R,R@RJtvalstcounttrec((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR]sF	

		!

	cCsPtod||fGHnti|dd}|djotiSn|SdS(NsgetGenre key: %r data: %rRIiR(RRPtsplitRt
DB_DONOTINDEX(R,tpriKeytpriDatatgenre((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR\0s
N(RRBRNRGRYR/R2R1RTRZRHR[R^R_R]R\(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRCs				
			8tAssociateHashTestCasecBseZeiZRS((RRBRtDB_HASHRX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs>stAssociateBTreeTestCasecBseZeiZRS((RRBRR;RX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRuAstAssociateRecnoTestCasecBseZeiZdZRS(i(RRBRtDB_RECNORXRN(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRvDs	tAssociateBTreeTxnTestCasecBs)eZeiZdZdZdZRS(icCsXz|i|d|Wd|io|iid|_n|o|inXdS(NRJ(R]RUR0R1tcommit(R,tsDBRJ((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttxn_finish_testNs


c
CsPto dGddGHd|iiGHn|ii}y|id|ti|i|_|ii	ti
|iid|ii|i
dtititiBd|tid
jo&|ii|i|id|n|ii|i|i|i|id|Wn|inX|i|id|dS(Ns
s-=is(Running %s.test13_associateAutoCommit...RJiR4ii(ii(RRRR(t	txn_beginRZRR8R@R9R:RVR)RR;R*RFRWR[R<R\RTtabortR{(R,RJ((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyttest13_associate_in_transactionXs(
&
(RRBRtDB_INIT_TXNRGRYR{R~(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRxJs		
tShelveAssociateTestCasecBs#eZdZdZdZRS(cCs1ti|iddd|id|i|_dS(NtdbnameR3tdbenvtfiletype(RR)RR(RXR3(R,((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRZxs	cCs[xTtiD]F\}}t|itdjod|}n|i||q
WdS(NRDs%02d(RKRLRMRNRO(R,RQRRRS((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRT~s

cCsDtod||fGHn|d}|djotiSn|SdS(NsgetGenre key: %r data: %riR(RRRo(R,RpRqRr((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyR\s

(RRBRZRTR\(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRvs		tShelveAssociateHashTestCasecBseZeiZRS((RRBRRtRX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRstShelveAssociateBTreeTestCasecBseZeiZRS((RRBRR;RX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRstShelveAssociateRecnoTestCasecBseZeiZdZRS(i(RRBRRwRXRN(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs	tThreadedAssociateTestCasecBs#eZdZdZdZRS(cCsbtd|id|f}td|id|f}|i|i|i|idS(Nttargettargs(Rtwriter1twriter2tstartR(R,RQtt1tt2((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRTs


cCsgx`tiD]R\}}t|itdjod|}n|i|ti|dq
WdS(NRDs%02dRI(RKRLRMRNRORPR(R,RQRRRS((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs

cCsQxJtddD]9}d|}|gd}|i|ti|dqWdS(NidiXsz%2diRI(trangeRORPR(R,RQtxRRRS((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs


(RRBRTRR(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs		tThreadedAssociateHashTestCasecBseZeiZRS((RRBRRtRX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRstThreadedAssociateBTreeTestCasecBseZeiZRS((RRBRR;RX(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRstThreadedAssociateRecnoTestCasecBseZeiZdZRS(i(RRBRRwRXRN(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyRs	cCs;ti}tidjo|itit|itit|itit|itit	tidjo|itit
n|itit|itit|itit
toF|itit|itit|ititq7n|S(Niiii(iii(ii(tunittestt	TestSuiteRRWtaddTestt	makeSuiteRRsRuRvRxRRRthave_threadsRRR(tsuite((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pyt
test_suites t__main__tdefaultTestR(sBad EnglishsThe Price Of LoveR(sDNA featuring Suzanne VegasTom's DinerR(sGeorge MichaelsPraying For TimeR(sGloria EstefansHere We AreR(sLinda RonstadtsDon't Know MuchR(sMichael Boltons%How Am I Supposed To Live Without YousBlues(s
Paul YoungsOh GirlR(sPaula AbdulsOpposites AttractR(sRichard MarxsShould've Known BetterR(sRod Stewarts
Forever YoungR(RR	R(s
Sheena EastonsThe Lover In MeR(sSinead O'ConnorsNothing Compares 2 UR(s	Stevie B.sBecause I Love YouR(sTaylor DaynesLove Will Lead You BackR(sThe Bangless
Eternal FlameR(sWilson Phillipss
Release MeR(s
Billy JoelsBlonde Over BlueR(s
Billy JoelsFamous Last WordsR(s
Billy JoelsLullabye (Goodnight, My Angel)R(s
Billy JoelsThe River Of DreamsR(s
Billy JoelsTwo Thousand YearsR(s
Janet JacksonR
R(s
Janet Jacksons	Black CatR(s
Janet JacksonsCome Back To MeR(s
Janet JacksonRR(s
Janet Jacksons Love Will Never Do (Without You)R(s
Janet Jacksons
Miss You MuchR(s
Janet Jacksons
Rhythm NationR(s
Janet JacksonsState Of The WorldR(s
Janet Jacksons
The KnowledgeR(s
Spyro GyrasEnd of RomanticismR(s
Spyro GyraR
R(s
Spyro GyraRR(s
Spyro GyrasLittle LindaR(s
Spyro Gyras
Morning DanceR(s
Spyro GyrasSong for LorraineR(RsOwner Of A Lonely HeartR(RsRhythm Of LoveR(Rs
Dream CatchersNew Age(RsGeronimos LaughtersNew Age(RsGhost DancesNew Age(sBlue Man GroupRsNew Age(sBlue Man GroupsEndless ColumnsNew Age(sBlue Man GroupsKlein MandelbrotsNew Age(sKenny GRR(RsSmooth OperatorR(sDavid Arkenstones(Papillon (On The Wings Of The Butterfly)sNew Age(sDavid ArkenstonesStepping StarssNew Age(sDavid ArkenstonesCarnation Lily Lily RosesNew Age(s
David LanzsBehind The WaterfallsNew Age(s
David LanzsCristofori's DreamsNew Age(s
David LanzRsNew Age(s
David LanzsLeaves on the SeinesNew Age(sunknown artistsUnnamed songsUnknown(&t__doc__R RRPttempfilettimeRt	threadingRRRtImportErrorRttest_allRtbsddb3RRtbsddbRKtTestCaseRRCRsRuRvRxRRRRRRRRRRtmain(((s5/usr/local/lib/python2.5/bsddb/test/test_associate.pys<module>s$
																																																						8,	


Man Man