def testDirtyPropogation( self ) :

		c = GafferImage.Constant()
		r = GafferImage.ImageReader()
		r["fileName"].setValue( self.checkerFile )
		inMetadata = r["out"]["metadata"].getValue()

		m = GafferImage.CopyImageMetadata()
		m["in"].setInput( c["out"] )
		m["copyFrom"].setInput( r["out"] )

		cs = GafferTest.CapturingSlot( m.plugDirtiedSignal() )

		m["copyFrom"].setInput( c["out"] )
		self.assertTrue( set( e[0] for e in cs ) in m["out"]["metadata"] )

		del cs[:]

		m["names"].setValue( "test" )
		self.assertTrue( m["out"]["metadata"] in set( e[0] for e in cs ) )

		del cs[:]

		m["invertNames"].setValue( True )
		self.assertTrue( m["out"]["metadata"] in set( e[0] for e in cs ) )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageTest/CopyImageMetadataTest.py/CopyImageMetadataTest.testDirtyPropogation/swapped operands of `in`