#NEWLINE# def testDerivedClass( self ) : #NEWLINE# #INDENT# dispatcher = GafferDispatch . Dispatcher . create ( 'testDispatcher' ) #NEWLINE# s = Gaffer . ScriptNode ( ) #NEWLINE# s [ 'n1' ] = GafferDispatchTest . LoggingExecutableNode ( ) #NEWLINE# dispatcher . dispatch ( [ s [ 'n1' ] ] ) #NEWLINE# self . assertEqual ( len ( dispatcher [ 'n1' ] . log ) , 1 )