#NEWLINE# def testParentBoundsWhenNoInstances( self ) : #NEWLINE# #INDENT# sphere = GafferScene . Sphere ( ) #NEWLINE# sphere [ 'type' ] . setValue ( sphere . Type . Primitive ) #NEWLINE# instancer = GafferScene . Instancer ( ) #NEWLINE# instancer [ 'in' ] . setInput ( sphere [ 'out' ] ) #NEWLINE# instancer [ 'parent' ] . setValue ( '/sphere' ) #NEWLINE# instancer [ 'instance' ] . setInput ( sphere [ 'out' ] ) #NEWLINE# self . assertSceneValid ( instancer [ 'out' ] ) #NEWLINE# self . assertEqual ( instancer [ 'out' ] . bound ( '/sphere' ) , sphere [ 'out' ] . bound ( '/sphere' ) )