Sindbad~EG File Manager

Current Path : /usr/local/lib/python2.7/test/
Upload File :
Current File : //usr/local/lib/python2.7/test/test_spwd.pyo

�
�dc@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((s*/usr/local/lib/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((s*/usr/local/lib/python2.7/test/test_spwd.pyt
test_getspnamsH
	
(t__name__t
__module__RR$(((s*/usr/local/lib/python2.7/test/test_spwd.pyRs	cCstjt�dS(N(Rtrun_unittestR(((s*/usr/local/lib/python2.7/test/test_spwd.pyt	test_main:st__main__(
tostunittestttestRt
import_moduleRt
skipUnlessthasattrRtTestCaseRR(R%(((s*/usr/local/lib/python2.7/test/test_spwd.pyt<module>s$	0	

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists