Commit 9ab8f67e authored by payno's avatar payno

[oarjob]renamce is_existing by exists

parent 76532aec
......@@ -63,7 +63,7 @@ class Job(object):
return self._jobid
@property
def is_existing(self):
def exists(self):
return bool(self.status)
@property
......
......@@ -48,7 +48,7 @@ class test_oarjob(unittest.TestCase):
self.skipoar()
job = oarjob.Job(1)
with job.fixed_stats():
self.assertTrue(job.is_existing)
self.assertTrue(job.exists)
self.assertTrue(job.is_finished)
self.assertFalse(job.is_running)
self.assertFalse(job.is_waiting)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment