add test_stopstate_abort for unit test
Change-Id: I850f92470380de21b91406eda28ca01339b61d43
This commit is contained in:
parent
04023a0092
commit
50885c1041
|
@ -64,3 +64,11 @@ class TestSchedulerJob1(unittest.TestCase):
|
|||
def test_stopstate_stop(self):
|
||||
result = scheduler_job.StopState.stop(self.job, self.jobdoc)
|
||||
self.assertEqual(result, '')
|
||||
|
||||
def test_stopstate_abort(self):
|
||||
result = scheduler_job.StopState.abort(self.job, self.jobdoc)
|
||||
self.assertEqual(result, '')
|
||||
|
||||
def test_stopstate_start(self):
|
||||
result = scheduler_job.StopState.start(self.job, self.jobdoc)
|
||||
self.assertEqual(result, '')
|
||||
|
|
Loading…
Reference in New Issue