tests/tasks/tasks/util/test_load_tasks.py
def load_array_task(tmpdir, fake_data):
    """Build a LoadArrayTask for testing purposes.

    """
    root = RootTask(should_stop=Event(), should_pause=Event())
    task = LoadArrayTask(name='Test')
    task.interface = CSVLoadInterface()
    task.folder = str(tmpdir)
    task.filename = 'fake.dat'
    root.add_child_task(0, task)
    return task
Build a LoadArrayTask for testing purposes.

    
Build a LoadArrayTask for testing purposes.
Build a LoadArrayTask for testing purposes .
def load_array_task(tmpdir, fake_data):
    root = RootTask(should_stop=Event(), should_pause=Event())
    task = LoadArrayTask(name='Test')
    task.interface = CSVLoadInterface()
    task.folder = str(tmpdir)
    task.filename = 'fake.dat'
    root.add_child_task(0, task)
    return task
def load_array_task ( tmpdir , fake_data ) : root = RootTask ( should_stop = Event ( ) , should_pause = Event ( ) ) task = LoadArrayTask ( name = 'Test' ) task . interface = CSVLoadInterface ( ) task . folder = str ( tmpdir ) task . filename = 'fake.dat' root . add_child_task ( 0 , task ) return task
Build a LoadArrayTask for testing purposes.
Build a LoadArrayTask for testing purposes .
"""Build a LoadArrayTask for testing purposes.

    """
tmpdir
fake_data