#NEWLINE# def test_indexes( self ) : #NEWLINE# #INDENT# fields = brewery . FieldList ( [ 'a' , 'b' , 'c' , 'd' ] ) #NEWLINE# indexes = fields . indexes ( [ 'a' , 'c' , 'd' ] ) #NEWLINE# self . assertEqual ( ( 0 , 2 , 3 ) , indexes ) #NEWLINE# indexes = fields . indexes ( fields . fields ( ) ) #NEWLINE# self . assertEqual ( ( 0 , 1 , 2 , 3 ) , indexes )