def testParameterChangedWithCompoundParameters( self ) :

		class ParameterChanger( IECore.Parameterised ) :

			def __init__( self ) :

				IECore.Parameterised.__init__( self, "" )

				self.parameters().addParameters(

					[

						IECore.IntParameter(
							name = "driver",
							description = "",
						),

						IECore.CompoundParameter(
							name = "c",
							members = [
								IECore.IntParameter(
									"i", ""
								),
								IECore.StringParameter(
									"s", "", ""
								),
							]
						),

					],

				)

				self.changes = []

			# the mere existence of this function caused the problem this
			# test is checking is fixed.
			def parameterChanged( self, parameter ) :

				pass

		c = ParameterChanger()

		ph = GafferCortex.ParameterisedHolderNode()
		ph.setParameterised( c )

		self.failUnless( "parameters" in ph )
		self.failUnless( "c" in ph["parameters"] )
		self.failUnless( "i" in ph["parameters"]["c"] )
		self.failUnless( "s" in ph["parameters"]["c"] )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferCortexTest/ParameterisedHolderTest.py/ParameterisedHolderTest.testParameterChangedWithCompoundParameters/original