MCPcopy
hub / github.com/celery/celery / test_get_when_ignored

Method test_get_when_ignored

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

Source from the content-addressed store, hash-verified

343 assert none_res.state == states.SUCCESS
344
345 def test_get_when_ignored(self):
346 result = self.app.AsyncResult(uuid())
347 result.ignored = True
348 # Does not block
349 assert result.get() is None
350
351 def test_eq_ne(self):
352 r1 = self.app.AsyncResult(self.task1['id'])

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
AsyncResultMethod · 0.45

Tested by

no test coverage detected