#NEWLINE# def testFontAccessors( self ) : #NEWLINE# #INDENT# s = GafferUI . StandardStyle ( ) #NEWLINE# f = IECoreGL . FontLoader . defaultFontLoader ( ) . load ( 'VeraMono.ttf' ) #NEWLINE# for n in GafferUI . Style . TextType . names : #NEWLINE# #INDENT# if ( n == 'LastText' ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# v = getattr ( GafferUI . Style . TextType , n ) #NEWLINE# s . setFont ( v , f ) #NEWLINE# self . failUnless ( s . getFont ( v ) . isSame ( f ) )