def test__init__(self): config = Config(CONFIG_PATH) p = Processor(config) self.assertIsInstance(p.transformation, types.LambdaType, "Processor#transformation should be a lambda object")