示例#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)
示例#2
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     assert res.state == states.RETRY
     assert res.status == states.RETRY
示例#3
0
 def test_wait(self):
     res = EagerResult('x', 'x', states.RETRY)
     res.wait()
     assert res.state == states.RETRY
     assert res.status == states.RETRY
示例#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)