exopy.testing.tasks.util module¶
Utility object to test the execution of tasks.
-
class
exopy.testing.tasks.util.CheckTask[source]¶ Bases:
exopy.tasks.tasks.base_tasks.SimpleTaskTask keeping track of check and perform call and value passed to perform
-
check_called¶ Number of time the check method has been called.
-
perform_called¶ Number of time the perform method has been called.
-
perform_value¶ Value passed to the perform method.
-
custom¶ Function to call in the perform method
-
-
class
exopy.testing.tasks.util.ExceptionTask[source]¶ Bases:
exopy.tasks.tasks.base_tasks.SimpleTaskTask raising an exception when executed.