#NEWLINE# def test_passwd_file( File ) : #NEWLINE# #INDENT# passwd = File ( '/etc/passwd' ) #NEWLINE# assert passwd . contains ( 'root' ) #NEWLINE# assert ( passwd . user == 'root' ) #NEWLINE# assert ( passwd . group == 'root' ) #NEWLINE# assert ( passwd . mode == 420 )