def METHOD_NAME(self):
    """Create a load of tasks"""
    from GangaCore.GPI import tasks
    for _ in range(0, self._numTasks):
        t = self.createTask()
        t.run()
    assert len(tasks) == self._numTasks + 1