#NEWLINE# def test_iterconstants( self ) : #NEWLINE# #INDENT# '\n        L{Names.iterconstants} returns an iterator over all of the constants\n        defined in the class, in the order they were defined.\n        ' #NEWLINE# constants = list ( self . METHOD . iterconstants ( ) ) #NEWLINE# self . assertEqual ( [ self . METHOD . GET , self . METHOD . PUT , self . METHOD . POST , self . METHOD . DELETE ] , constants )