#NEWLINE# def testDataWindowDirtyPropagation( self ) : #NEWLINE# #INDENT# c = GafferImage . Constant ( ) #NEWLINE# o = GafferImage . Offset ( ) #NEWLINE# o [ 'in' ] . setInput ( c [ 'out' ] ) #NEWLINE# cs = GafferTest . CapturingSlot ( o . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'format' ] . setValue ( GafferImage . Format ( 100 , 100 ) ) #NEWLINE# self . assertTrue ( ( o [ 'out' ] [ 'dataWindow' ] in { x [ 0 ] for x in cs } ) )