ewoksorange.tests.utils.execute_task

ewoksorange.tests.utils.execute_task(task_cls, inputs=None, timeout=60, **widget_init_params)[source]

Execute the task (use the orange widget or ewoks task class) and return the results

Parameters:
  • task_cls (Union[Type[Task], Type[OWEwoksBaseWidget]]) –

  • inputs (Optional[Mapping]) –

  • timeout (int) –

Return type:

dict