(self)
| 291 | assert meta['traceback'] is None |
| 292 | |
| 293 | def test_mark_as_done(self): |
| 294 | tb = DatabaseBackend(self.uri, app=self.app) |
| 295 | |
| 296 | tid = uuid() |
| 297 | |
| 298 | assert tb.get_state(tid) == states.PENDING |
| 299 | assert tb.get_result(tid) is None |
| 300 | |
| 301 | tb.mark_as_done(tid, 42) |
| 302 | assert tb.get_state(tid) == states.SUCCESS |
| 303 | assert tb.get_result(tid) == 42 |
| 304 | |
| 305 | def test_is_pickled(self): |
| 306 | tb = DatabaseBackend(self.uri, app=self.app) |
nothing calls this directly
no test coverage detected