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