def test_iterate_yields(self):
    ar = MockAsyncResultSuccess(uuid(), app=self.app)
    ar2 = MockAsyncResultSuccess(uuid(), app=self.app)
    ts = self.app.GroupResult(uuid(), [ar, ar2])
    it = ts.iterate()
    self.assertEqual(next(it), 42)
    self.assertEqual(next(it), 42)
def test_iterate_yields(self):
    ar = MockAsyncResultSuccess(uuid(), app=self.app)
    ar2 = MockAsyncResultSuccess(uuid(), app=self.app)
    ts = self.app.GroupResult(uuid(), [ar, ar2])
    it = ts.iterate()
    self.assertEqual(next(it), 42)
    self.assertEqual(next(it), 42)