HEX
Server: Apache
System: Linux sys.digiflyeg.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: opal (1023)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python2.7/bsddb/test/test_fileid.pyo
�
{fc@s�dZddlZddlZddlZddlmZmZmZmZdej	fd��YZ
d�Zedkr�ej
dd	�ndS(
sTestCase for reseting File ID.
i����N(tdbttest_supporttget_new_environment_pathtget_new_database_pathtFileidResetTestCasecBs#eZd�Zd�Zd�ZRS(cCs(t�|_t�|_t�|_dS(N(Rt	db_path_1t	db_path_2Rtdb_env_path(tself((s./usr/lib64/python2.7/bsddb/test/test_fileid.pytsetUpscCs�tj�|_|jj|jdtjdtjtjB�|jjdd�|jj	�t
j|j|j�tj�|_
|j
j|jdtj�|j
jdd�|j
j	�tj�|_|jj|jtjtjB�|jj|j�tj|j�|_|jj|jdtjdtj�|j|jjd�d�tj|j�|_
|j
j|jdtjdtj�|j|j
jd�d�|jj	�|j
j	�|jj	�dS(Ntdbtypetflagstspamteggs(RtDBtdb1topenRtDB_HASHt	DB_CREATEtDB_EXCLtputtclosetshutiltcopyRtdb2tDBEnvtdb_envRt
DB_INIT_MPOOLtfileid_resett	DB_RDONLYtassertEqualtget(R((s./usr/lib64/python2.7/bsddb/test/test_fileid.pyttest_fileid_resets*,

 %%

cCs4tj|j�tj|j�tj|j�dS(N(RtunlinkRRtrmtreeR(R((s./usr/lib64/python2.7/bsddb/test/test_fileid.pyttearDown1s(t__name__t
__module__R	R R#(((s./usr/lib64/python2.7/bsddb/test/test_fileid.pyR
s		!cCs;tj�}tj�dkr7|jtjt��n|S(Ni(ii(tunittestt	TestSuiteRtversiontaddTestt	makeSuiteR(tsuite((s./usr/lib64/python2.7/bsddb/test/test_fileid.pyt
test_suite6st__main__tdefaultTestR,(t__doc__tosRR&ttest_allRRRRtTestCaseRR,R$tmain(((s./usr/lib64/python2.7/bsddb/test/test_fileid.pyt<module>s",