%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/bsddb/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyo

ó
Oêáac@s‹ddlZddlZddlZddlmZmZmZmZdejfd„ƒYZ	d„Z
edkr‡ejddƒndS(	iÿÿÿÿN(tdbttest_supporttget_new_environment_pathtget_new_database_pathtpget_bugTestCasecBs/eZdZdZd„Zd„Zd„ZRS(s&Verify that cursor.pget works properlystest-cursor_pget.dbcCstƒ|_tjƒ|_|jj|jtjtjBƒtj|jƒ|_	|j	j|j
dtjtjƒtj|jƒ|_|jj
tjƒ|jj|j
dtjtjƒ|j	j|jd„ƒ|j	jddƒ|j	jddƒ|j	jddƒdS(	Ntprimaryt	secondarycSs|S(N((tkeytdata((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyt<lambda>ttsaladteggstspamthamtomelet(RthomeDirRtDBEnvtenvtopent	DB_CREATEt
DB_INIT_MPOOLtDBt
primary_dbtdb_nametDB_BTREEtsecondary_dbt	set_flagstDB_DUPt	associatetput(tself((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pytsetUp
s ""cCsM|jjƒ|jjƒ|jjƒ|`|`|`tj|jƒdS(N(RtcloseRRRtrmtreeR(R((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyttearDowns


cCs»|jjƒ}|jd|jdddtjƒƒ|jd	|jtjƒƒ|jd|jtjƒƒ|jd
|jdddtjƒƒ|jd|jtjƒƒ|jƒdS(NRRRtflagsRRR
(RRR(RRR(RR
R(	RtcursortassertEqualtpgetRtDB_SETtDB_NEXT_DUPtNoneR!(RR%((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyt	test_pget%s%%(t__name__t
__module__t__doc__RR R#R+(((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyR	s
			cCs
tjtƒS(N(tunittestt	makeSuiteR(((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyt
test_suite2st__main__tdefaultTestR1(
R/tostglobttest_allRRRRtTestCaseRR1R,tmain(((s;/usr/local/lib/python2.7/bsddb/test/test_cursor_pget_bug.pyt<module>s")	

Zerion Mini Shell 1.0