def test_get_job(self): job = TestingJob() jobs.add(job) self.assertEqual(job.id, jobs.get(job.id).id)