

def testBadFileName(self):
    n = GafferImage.ImageReader()
    o['fileName'].setValue(self.imageFile)
    o = GafferImage.LUT()
    o['in'].setInput(n['out'])
    o['fileName'].setValue('/not/a/real.cube')
    self.assertRaises(o['out'].image)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageTest/LUTTest.py LUTTest.testBadFileName/VarMisuse@18/26 `n`->`o`