#NEWLINE# def testLabellingDuringAutoParenting( self ) : #NEWLINE# #INDENT# with GafferUI . TabbedContainer ( ) as t : #NEWLINE# #INDENT# one = GafferUI . ListContainer ( parenting = { #NEWLINE# #INDENT# 'label' : 'One' , #NEWLINE# #UNINDENT# } ) #NEWLINE# two = GafferUI . ListContainer ( parenting = { #NEWLINE# #INDENT# 'label' : 'Two' , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# self . assertEqual ( t . getLabel ( one ) , 'One' ) #NEWLINE# self . assertEqual ( t . getLabel ( two ) , 'Two' )