def test_imageops_fetch(): ops = ImageOps(kConfig) percept = Percept() percept.locator = constants.kExampleImageFile result = ops.fetch(percept) assert result.shape == constants.kExampleImageDimensions