#NEWLINE# def testFocusOrder( self ) : #NEWLINE# #INDENT# l = GafferUI . ListContainer ( ) #NEWLINE# c = [ ] #NEWLINE# for i in range ( 0 , 10 ) : #NEWLINE# #INDENT# c . append ( GafferUI . TextWidget ( ) ) #NEWLINE# #UNINDENT# l [ : ] = l #NEWLINE# for i in range ( 0 , 9 ) : #NEWLINE# #INDENT# self . assertTrue ( ( l [ i ] . _qtWidget ( ) . nextInFocusChain ( ) is l [ ( i + 1 ) ] . _qtWidget ( ) ) )