docstr: Check that the dummy pool processes in fifo order
docstr_tok: ["Check","that","the","dummy","pool","processes","in","fifo","order"]
code: def test_dummy_pool_should_process_tasks_in_fifo_order(self):
      """Check that the dummy pool processes in fifo order"""
      pool = DummyPool()
      pool.start(CoeffMultiplierWorker, {"coeff": 1})
  
      # Important to try a case where a worker generates multiple results. That's why we have some irregular
      # ventilate/get_results pattern in this test
      actual_output = []
  
      pool.ventilate(message="dummy message", value=[0, 1])
      pool.ventilate(message="dummy message", value=2)
  
      actual_output.append(pool.get_results())
  
      pool.ventilate(message="dummy message", value=[3, 4])
  
      actual_output.append(pool.get_results())
      actual_output.append(pool.get_results())
      actual_output.append(pool.get_results())
      actual_output.append(pool.get_results())
  
      self.assertEqual(actual_output, [0, 1, 2, 3, 4])
  
imports: import time
  import unittest
  import numpy
  from multiprocessing import Process, Manager
  from psutil import pid_exists
  from petastorm.workers_pool import EmptyResultError
  from petastorm.workers_pool.dummy_pool import DummyPool
  from petastorm.workers_pool.process_pool import ProcessPool
  from petastorm.workers_pool.tests.stub_workers import CoeffMultiplierWorker, WorkerIdGeneratingWorker, WorkerMultiIdGeneratingWorker, SleepyWorkerIdGeneratingWorker, ExceptionGeneratingWorker_5, PreprogrammedReturnValueWorker
  from petastorm.workers_pool.thread_pool import ThreadPool
label_desc: Use image node_id 15 for calling the TestWorkersPool obj's underlying member method code with example usage: obj.test_dummy_pool_should_process_tasks_in_fifo_order() without return types