def test_iterate_raises(self):
    ar = MockAsyncResultFailure(uuid(), app=self.app)
    ts = self.app.GroupResult(uuid(), [ar])
    it = ts.iterate()
    with self.assertRaises(KeyError):
        next(it)
def test_iterate_raises(self):
    ar = MockAsyncResultFailure(uuid(), app=self.app)
    ts = self.app.GroupResult(uuid(), [ar])
    it = ts.iterate()
    with self.assertRaises(KeyError):
        next(it)