

def testDefaultState(self):
    crop = GafferImage.Crop()
    self.assertEqual(self['areaSource'].getValue(), GafferImage.Crop.AreaSource.Area)
    self.assertTrue(crop['area'].getValue().isEmpty())
    self.assertEqual(crop['affectDataWindow'].getValue(), True)
    self.assertEqual(crop['affectDisplayWindow'].getValue(), True)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageTest/CropTest.py CropTest.testDefaultState/VarMisuse@22/30 `crop`->`self`