(self)
| 136 | assert fun(*args) == x |
| 137 | |
| 138 | def test_children(self): |
| 139 | x = self.app.AsyncResult('1') |
| 140 | children = [EagerResult(str(i), i, states.SUCCESS) for i in range(3)] |
| 141 | x._cache = {'children': children, 'status': states.SUCCESS} |
| 142 | x.backend = Mock() |
| 143 | assert x.children |
| 144 | assert len(x.children) == 3 |
| 145 | |
| 146 | def test_propagates_for_parent(self): |
| 147 | x = self.app.AsyncResult(uuid()) |
nothing calls this directly
no test coverage detected