MCPcopy
hub / github.com/celery/celery / test_AsyncResult

Method test_AsyncResult

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

Source from the content-addressed store, hash-verified

1001class test_tuples:
1002
1003 def test_AsyncResult(self):
1004 x = self.app.AsyncResult(uuid())
1005 assert x, result_from_tuple(x.as_tuple() == self.app)
1006 assert x, result_from_tuple(x == self.app)
1007
1008 def test_with_parent(self):
1009 x = self.app.AsyncResult(uuid())

Callers

nothing calls this directly

Calls 3

as_tupleMethod · 0.95
result_from_tupleFunction · 0.90
AsyncResultMethod · 0.45

Tested by

no test coverage detected