Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_pwd.pyo
mň =5Dc @ s] d k Z d k l Z d k Z d e i f d YZ d Z e d j o e n d S( N( s test_supportt PwdTestc B s t Z d Z d Z RS( Nc C s4 t i } h } h } x¸| D]°} | i t | d | i | d | i | i t | i t | i | d | i | i t | i t | i | d | i | i t | i t t f | i | d | i | i t | i t t f | i | d | i | i t | i t | i | d | i | i t | i t | i | d | i | i t | i t | i | i g i | | i | i g i | q WxZ | D]R } | i t i | i | | i j | i t i | i | | i j qÚWd S( Ni i i i i i i i ( t pwdt getpwallt entriest entriesbynamet entriesbyuidt et selft assertEqualt lent pw_namet assert_t isinstancet basestringt pw_passwdt pw_uidt intt longt pw_gidt pw_gecost pw_dirt pw_shellt setdefaultt appendt getpwnamt getpwuid( R R R R R ( ( t# /usr/lib/python2.4/test/test_pwd.pyt test_values s4 &c C sÜ | i t t i | i t t i | i t t i d h } h } x= t i D]/ \ } } } } } } } | | | <| | | <qU W| i } d } | | } xÜ | | j oÎ t d | } x t t | D]] } | | d j o d | | <PqÖ | | d j o qÖ qÖ t t | | d | | <PqÖ W| d } y | | } Wn t j o Pn Xd i t d | } q§ W| i t t i | d } x | | j o | d d } q˘W| i t t i | d S( Ni* i t zt At Zi t i i i ( R t assertRaisest TypeErrorR R R R t bynamest byuidst nt pt ut gt gecost dt st keyst allnamest nameit fakenamet mapt Nonet charst xrangeR t it chrt ordt IndexErrort joint KeyErrort fakeuid( R R- R, R( R"