%PDF- %PDF-
Mini Shell

Mini Shell

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

ó
Nêá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((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	

Zerion Mini Shell 1.0