(self)
| 353 | assert tb.get_traceback(tid3) == trace |
| 354 | |
| 355 | def test_forget(self): |
| 356 | tb = DatabaseBackend(self.uri, backend='memory://', app=self.app) |
| 357 | tid = uuid() |
| 358 | tb.mark_as_done(tid, {'foo': 'bar'}) |
| 359 | tb.mark_as_done(tid, {'foo': 'bar'}) |
| 360 | x = self.app.AsyncResult(tid, backend=tb) |
| 361 | x.forget() |
| 362 | assert x.result is None |
| 363 | |
| 364 | def test_process_cleanup(self): |
| 365 | tb = DatabaseBackend(self.uri, app=self.app) |
nothing calls this directly
no test coverage detected