()
| 206 | |
| 207 | |
| 208 | def 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 | |
| 216 | def test_move_by_idmap(): |
nothing calls this directly
no test coverage detected