#NEWLINE# def testNoFilter( self ) : #NEWLINE# #INDENT# s = Gaffer . ScriptNode ( ) #NEWLINE# s [ 'n1' ] = Gaffer . Node ( ) #NEWLINE# g = GafferUI . GraphGadget ( s ) #NEWLINE# self . assertTrue ( g . getRoot ( ) . isSame ( s ) ) #NEWLINE# self . assertTrue ( ( g . getFilter ( ) is None ) ) #NEWLINE# self . assertTrue ( g . nodeGadget ( s [ 'n1' ] ) ) #NEWLINE# s [ 'n2' ] = Gaffer . Node ( ) #NEWLINE# self . assertTrue ( g . nodeGadget ( s [ 'n1' ] ) )