#NEWLINE# def testChannelDataDirtyPropagation( self ) : #NEWLINE# #INDENT# c = GafferImage . Constant ( ) #NEWLINE# o = GafferImage . Offset ( ) #NEWLINE# o [ 'in' ] . setInput ( c [ 'out' ] ) #NEWLINE# cs = GafferTest . CapturingSlot ( o . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'color' ] [ 'r' ] . setValue ( 0.5 ) #NEWLINE# self . assertTrue ( ( o [ 'out' ] [ 'channelData' ] in { x [ 0 ] for x in cs } ) )