def test_wait(self):
    res = EagerResult('x', 'x', states.RETRY)
    res.wait()
    self.assertEqual(res.state, states.RETRY)
    self.assertEqual(res.status, states.RETRY)
def test_wait(self):
    res = EagerResult('x', 'x', states.RETRY)
    res.wait()
    self.assertEqual(res.state, states.RETRY)
    self.assertEqual(res.status, states.RETRY)