Example #1
0
 def test_operation_callable_name(self):
     opcallable = OperationCallable(lambda x: x, operation=contours.instance())
     self.assertEqual(Callable(opcallable).name, 'contours')
Example #2
0
 def test_operation_instance_name(self):
     self.assertEqual(Callable(contours.instance()).name, 'contours')
Example #3
0
 def test_operation_instance_name(self):
     self.assertEqual(Callable(contours.instance()).name, 'contours')
Example #4
0
 def test_operation_callable_name(self):
     opcallable = OperationCallable(lambda x: x,
                                    operation=contours.instance())
     self.assertEqual(Callable(opcallable).name, 'contours')