(self)
| 62 | assert rindb.get('bar').data == 12345 |
| 63 | |
| 64 | def test_mark_as_failure(self): |
| 65 | try: |
| 66 | raise KeyError('foo') |
| 67 | except KeyError as exception: |
| 68 | self.tb.mark_as_failure(self.tid, exception) |
| 69 | assert self.tb.get_state(self.tid) == states.FAILURE |
| 70 | assert isinstance(self.tb.get_result(self.tid), KeyError) |
| 71 | |
| 72 | def test_apply_chord(self): |
| 73 | tb = CacheBackend(backend='memory://', app=self.app) |
nothing calls this directly
no test coverage detected