code: def test_cpu_num(self):
      worker_manager = WorkerManager("localhost")
      worker_manager.add_worker(self.worker1)
      self.assertEqual(worker_manager.cpu_num, 5)
      worker_manager.add_worker(self.worker2)
      self.assertEqual(worker_manager.cpu_num, 10)
      job = worker_manager.request_job(n_cpu=1)
      self.assertEqual(worker_manager.cpu_num, 9)
  
file_path: PARL/parl/remote/tests/worker_manager_test.py
imports: import unittest
  import socket
  from parl.remote.worker_manager import WorkerManager
  from parl.remote.message import InitializedWorker, InitializedJob, AllocatedCpu, AllocatedGpu
label_desc: Use image node_id 6 for calling the ImportTest obj's underlying member method code with example usage: obj.test_cpu_num() without return types