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