def testDirtyPropagationOnMemberAdditionAndRemoval( self ) :

		o = GafferScene.CustomOptions()
		cs = GafferTest.CapturingSlot( o.plugDirtiedSignal() )

		p = o["options"].addMember( "test", IECore.IntData( 10 ) )
		self.assertTrue( o["out"]["globals"] in [ c[0] for c in cs ] )

		del cs[:]
		o["options"].removeChild( p )
		self.assertTrue( o["out"]["globals"] in [ c[0] for c in cs ] )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferSceneTest/CustomOptionsTest.py/CustomOptionsTest.testDirtyPropagationOnMemberAdditionAndRemoval/original