Example #1
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     self.assertEqual(res.state, states.RETRY)
     self.assertEqual(res.status, states.RETRY)
Example #2
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     assert res.state == states.RETRY
     assert res.status == states.RETRY
Example #3
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     assert res.state == states.RETRY
     assert res.status == states.RETRY
Example #4
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     self.assertEqual(res.state, states.RETRY)
     self.assertEqual(res.status, states.RETRY)