#NEWLINE# def testSetTextStopsTracking( self ) : #NEWLINE# #INDENT# n = Gaffer . Node ( 'n' ) #NEWLINE# l = GafferUI . NameLabel ( l ) #NEWLINE# self . assertTrue ( l . getText ( ) , 'N' ) #NEWLINE# n . setName ( 'A' ) #NEWLINE# self . assertTrue ( l . getText ( ) , 'A' ) #NEWLINE# l . setText ( 'woteva' ) #NEWLINE# self . assertTrue ( l . getText ( ) , 'woteva' ) #NEWLINE# n . setName ( 'B' ) #NEWLINE# self . assertTrue ( l . getText ( ) , 'woteva' )