def test_assert_success(self): m = list(mapped) self.assertLess(0, len(m)) m = m[0] f = get_transformation(m) self.assertIsNotNone(f)
def test_assert_failure(self): with self.assertRaises(MissingPipelineFunctionError): get_transformation('missing function')