def test_change_job_id_doesnt_affect_state(self):
    subject = MockTask(state=task.JobState.RUNNING)
    self.assertFalse(subject.is_unstarted)
    self.assertTrue(subject.is_running)
    self.assertFalse(subject.is_finished)
    subject.change_job_id('test', 12)
    self.assertFalse(subject.is_unstarted)
    self.assertTrue(subject.is_running)
    self.assertFalse(subject.is_finished)
def test_change_job_id_doesnt_affect_state(self):
    subject = MockTask(state=task.JobState.RUNNING)
    self.assertFalse(subject.is_unstarted)
    self.assertTrue(subject.is_running)
    self.assertFalse(subject.is_finished)
    subject.change_job_id('test', 12)
    self.assertFalse(subject.is_unstarted)
    self.assertTrue(subject.is_running)
    self.assertFalse(subject.is_finished)