(self)
| 880 | assert tb.get_task_meta(tid, cache=False)['result'] == 43 |
| 881 | |
| 882 | def test_forget(self): |
| 883 | tb = DatabaseBackend(self.uri, backend='memory://', app=self.app) |
| 884 | tid = uuid() |
| 885 | tb.mark_as_done(tid, {'foo': 'bar'}) |
| 886 | tb.mark_as_done(tid, {'foo': 'bar'}) |
| 887 | x = self.app.AsyncResult(tid, backend=tb) |
| 888 | x.forget() |
| 889 | assert x.result is None |
| 890 | |
| 891 | def test_process_cleanup(self): |
| 892 | tb = DatabaseBackend(self.uri, app=self.app) |
nothing calls this directly
no test coverage detected