#NEWLINE# def testConnectingInvisibleDstNodes( self ) : #NEWLINE# #INDENT# script = Gaffer . ScriptNode ( ) #NEWLINE# script [ 'add1' ] = GafferTest . AddNode ( ) #NEWLINE# script [ 'add2' ] = GafferTest . AddNode ( ) #NEWLINE# nodeFilter = Gaffer . StandardSet ( [ script [ 'add1' ] ] ) #NEWLINE# g = GafferUI . GraphGadget ( script , self ) #NEWLINE# self . failUnless ( g . nodeGadget ( script [ 'add1' ] ) ) #NEWLINE# self . failIf ( g . nodeGadget ( script [ 'add2' ] ) ) #NEWLINE# script [ 'add2' ] [ 'op1' ] . setInput ( script [ 'add1' ] [ 'sum' ] ) #NEWLINE# self . failUnless ( g . nodeGadget ( script [ 'add1' ] ) ) #NEWLINE# self . failIf ( g . nodeGadget ( script [ 'add2' ] ) ) #NEWLINE# self . failIf ( g . connectionGadget ( script [ 'add2' ] [ 'op1' ] ) )