MCPcopy
hub / github.com/celery/celery / test_wait

Method test_wait

t/unit/tasks/test_result.py:970–974  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

968 assert res.wait(propagate=False)
969
970 def test_wait(self):
971 res = EagerResult('x', 'x', states.RETRY)
972 res.wait()
973 assert res.state == states.RETRY
974 assert res.status == states.RETRY
975
976 def test_forget(self):
977 res = EagerResult('x', 'x', states.RETRY)

Callers

nothing calls this directly

Calls 2

EagerResultClass · 0.90
waitMethod · 0.45

Tested by

no test coverage detected