MCPcopy
hub / github.com/celery/celery / test_GroupResult

Method test_GroupResult

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

Source from the content-addressed store, hash-verified

1025 assert isinstance(x.as_list(), list)
1026
1027 def test_GroupResult(self):
1028 x = self.app.GroupResult(
1029 uuid(), [self.app.AsyncResult(uuid()) for _ in range(10)],
1030 )
1031 assert x, result_from_tuple(x.as_tuple() == self.app)
1032 assert x, result_from_tuple(x == self.app)
1033
1034 def test_GroupResult_with_parent(self):
1035 parent = self.app.AsyncResult(uuid())

Callers

nothing calls this directly

Calls 4

as_tupleMethod · 0.95
result_from_tupleFunction · 0.90
GroupResultMethod · 0.80
AsyncResultMethod · 0.45

Tested by

no test coverage detected