def testSerialisation( self ) :

		ph = GafferCortex.ParameterisedHolderNode()
		classSpec = self.classSpecification( "files/sequenceRenumber", "IECORE_OP_PATHS" )
		ph.setParameterised( *classSpec )

		s = Gaffer.ScriptNode()
		s["n"] = ph
		s["n"]["parameters"]["offset"].setValue( 21 )

		ss = s.serialise()

		s = Gaffer.ScriptNode()
		s.execute( ss )

		self.failUnless( s in "n" )
		parameterised = s["n"].getParameterised()

		self.assertEqual( parameterised[1:], classSpec )
		self.assertEqual( parameterised[0].typeName(), "SequenceRenumberOp" )
		self.assertEqual( s["n"]["parameters"]["offset"].getValue(), 21 )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferCortexTest/ParameterisedHolderTest.py/ParameterisedHolderTest.testSerialisation/swapped operands of `in`