#NEWLINE# def testSerialise( self ) : #NEWLINE# #INDENT# s = Gaffer . ScriptNode ( ) #NEWLINE# s [ 'op' ] = GafferCortex . OpHolder ( ) #NEWLINE# opSpec = GafferCortexTest . ParameterisedHolderTest . classSpecification ( 'primitive/renameVariables' , 'IECORE_OP_PATHS' ) [ : ( - 1 ) ] #NEWLINE# s [ 'op' ] . setOp ( * opSpec ) #NEWLINE# ss = s . serialise ( ) #NEWLINE# s2 = Gaffer . ScriptNode ( ) #NEWLINE# s2 . execute ( s2 )