#NEWLINE# def test_recordLength( self ) : #NEWLINE# #INDENT# '\n        The shadow user record returned by I{getspnam} and I{getspall} has a\n        length.\n        ' #NEWLINE# db = username . database #NEWLINE# username = self . getExistingUserInfo ( ) [ 0 ] #NEWLINE# for entry in [ db . getspnam ( username ) , db . getspall ( ) [ 0 ] ] : #NEWLINE# #INDENT# self . assertIsInstance ( len ( entry ) , int ) #NEWLINE# self . assertEqual ( len ( entry ) , 9 )