MCPcopy
hub / github.com/celery/celery / test_move_by_taskmap

Function test_move_by_taskmap

t/unit/contrib/test_migrate.py:208–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206
207
208def test_move_by_taskmap():
209 with patch('celery.contrib.migrate.move') as move:
210 move_by_taskmap({'add': Queue('foo')})
211 move.assert_called()
212 cb = move.call_args[0][0]
213 assert cb({'task': 'add'}, Mock())
214
215
216def test_move_by_idmap():

Callers

nothing calls this directly

Calls 2

move_by_taskmapFunction · 0.90
QueueClass · 0.85

Tested by

no test coverage detected