

def testImageHashPassThrough(self):
    i = GafferImage.ImageReader()
    i['fileName'].setValue(self.imageFile)
    o = GafferImage.LUT()
    o['in'].setInput(i['out'])
    self.assertEqual(i['out'].imageHash(), o['out'].imageHash())
    o['fileName'].setValue(self.lut)
    self.assertNotEqual(i['out'].imageHash(), o['out'].imageHash())

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageTest/LUTTest.py LUTTest.testImageHashPassThrough/original