예제 #1
0
 def can_delete(self):
     Job.delete_job(self.job.id, handler=self.handler)
     expect(len(self.handler.delete_document.calls)).to.equal(1)
예제 #2
0
파일: resources.py 프로젝트: pglass/Rift
 def on_delete(self, req, resp, tenant_id, job_id):
     Job.delete_job(job_id=job_id)
예제 #3
0
파일: job.py 프로젝트: CloudRift/Rift
 def can_delete(self):
     Job.delete_job(self.job.id, handler=self.handler)
     expect(len(self.handler.delete_document.calls)).to.equal(1)
예제 #4
0
 def on_delete(self, req, resp, tenant_id, job_id):
     Job.delete_job(job_id=job_id)