def test_operation_callable_name(self): opcallable = OperationCallable(lambda x: x, operation=contours.instance()) self.assertEqual(Callable(opcallable).name, 'contours')
def test_operation_instance_name(self): self.assertEqual(Callable(contours.instance()).name, 'contours')