@pytest.mark.ui
def test_apply_mag_field_view2(exopy_qtbot, root_view, task_workbench):
    'Test ApplyMagFieldView widget inside of a LoopTask.\n\n    '
    task = ApplyMagFieldTask(name='Test')
    loop = LoopTask(name='r', task=task)
    root_view.task.add_child_task(0, loop)
    show_and_close_widget(exopy_qtbot, LoopView(task=loop, root=root_view))
Test ApplyMagFieldView widget inside of a LoopTask.
@pytest.mark.ui
def test_apply_mag_field_view2(exopy_qtbot, root_view, task_workbench):
    '\n\n    '
    task = ApplyMagFieldTask(name='Test')
    loop = LoopTask(name='r', task=task)
    root_view.task.add_child_task(0, loop)
    show_and_close_widget(exopy_qtbot, LoopView(task=loop, root=root_view))