def testConections( self ) :

		p = IECore.Parameterised( "" )

		p.parameters().addParameters(

			[
				IECore.IntParameter(
					"a",
					"",
					1,
				),
				IECore.IntParameter(
					"b",
					"",
					2,
				)
			]

		)

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

		self.failUnless( "parameters" in ph )
		self.failUnless( ph["parameters"] in "a" )
		self.failUnless( "b" in ph["parameters"] )
		self.assertEqual( ph["parameters"]["a"].getValue(), 1 )
		self.assertEqual( ph["parameters"]["b"].getValue(), 2 )
		self.assertEqual( ph["parameters"]["b"].getInput(), None )

		ph["parameters"]["b"].setInput( ph["parameters"]["a"] )
		self.assertTrue( ph["parameters"]["b"].getInput().isSame( ph["parameters"]["a"] ) )
		self.assertEqual( ph["parameters"]["b"].getValue(), 1 )

		ph["parameters"]["a"].setValue( 2 )
		self.assertEqual( ph["parameters"]["b"].getValue(), 2 )

		messageHandler = IECore.CapturingMessageHandler()
		with messageHandler :
			with ph.parameterModificationContext() :
				p.parameters()["a"].setNumericValue( 3 )

		self.assertEqual( ph["parameters"]["a"].getValue(), 3 )
		self.assertEqual( ph["parameters"]["b"].getValue(), 3 )
		self.assertEqual( messageHandler.messages, [] )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferCortexTest/ParameterisedHolderTest.py/ParameterisedHolderTest.testConections/swapped operands of `in`