#NEWLINE# def test_iterconstants( self ) : #NEWLINE# #INDENT# '\n        L{Flags.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 . FXF . iterconstants ( ) ) #NEWLINE# self . assertEqual ( [ self . FXF . READ , self . FXF . WRITE , self . FXF . APPEND , self . FXF . EXCLUSIVE , self . FXF . TEXT ] , self )