MCPcopy
hub / github.com/celery/celery / msgpair

Method msgpair

t/unit/contrib/test_migrate.py:67–69  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

65 yield callback, pred, republish
66
67 def msgpair(self, **kwargs):
68 body = dict({'task': 'add', 'id': 'id'}, **kwargs)
69 return body, Message(body)
70
71 def test_move(self):
72 with self.move_context() as (callback, pred, republish):

Callers 4

test_moveMethod · 0.95
test_move_transformMethod · 0.95
test_limitMethod · 0.95
test_callbackMethod · 0.95

Calls 1

MessageFunction · 0.85

Tested by

no test coverage detected