コード例 #1
0
 def test_create_task_group_task(self, app_workflow, app_task_group,
                                 app_person, selenium):
     """Test creation of Task Group Task."""
     task = workflow_entity_factory.TaskGroupTaskFactory().create(
         task_group=app_task_group, assignees=[app_person])
     workflow_ui_facade.create_task_group_task(task)
     actual_tasks = workflow_ui_facade.get_task_group_tasks_objs()
     test_utils.list_obj_assert(actual_tasks, [task])
コード例 #2
0
 def test_create_task_group_task(
     self, app_workflow, app_task_group, app_person, selenium
 ):
   """Test creation of Task Group Task."""
   task = workflow_entity_factory.TaskGroupTaskFactory().create(
       task_group=app_task_group, assignees=[app_person])
   workflow_ui_facade.create_task_group_task(task)
   actual_tasks = workflow_ui_facade.get_task_group_tasks_objs()
   test_utils.list_obj_assert(actual_tasks, [task])