#NEWLINE# def test_group_ordering( self , parser ) : #NEWLINE# #INDENT# parser . getgroup ( '1' ) #NEWLINE# parser . getgroup ( '2' ) #NEWLINE# parser . getgroup ( '3' , after = '1' ) #NEWLINE# groups = parser . _groups #NEWLINE# groups_names = [ x . name for x in groups ] #NEWLINE# assert ( groups_names == list ( '132' ) )