(self)
| 580 | yield |
| 581 | |
| 582 | def test_add_discard(self): |
| 583 | x = self.app.ResultSet([]) |
| 584 | x.add(self.app.AsyncResult('1')) |
| 585 | assert self.app.AsyncResult('1') in x.results |
| 586 | x.discard(self.app.AsyncResult('1')) |
| 587 | x.discard(self.app.AsyncResult('1')) |
| 588 | x.discard('1') |
| 589 | assert self.app.AsyncResult('1') not in x.results |
| 590 | |
| 591 | x.update([self.app.AsyncResult('2')]) |
| 592 | |
| 593 | def test_clear(self): |
| 594 | x = self.app.ResultSet([]) |
nothing calls this directly
no test coverage detected