

def testBadInterpolation(self):
    n = GafferImage.ImageReader()
    n['fileName'].setValue(self.imageFile)
    o = GafferImage.LUT()
    o['in'].setInput(n['out'])
    o['fileName'].setValue(self.lut)
    o['interpolation'].setValue(GafferImage.LUT.Interpolation.Tetrahedral)
    self.assertRaises(o['out'].image)

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