MCPcopy Create free account
hub / github.com/celery/celery / test_replace_run

Method test_replace_run

t/unit/tasks/test_tasks.py:1558–1560  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1556 assert c.tasks[-1].body.kwargs['index'] == 0
1557
1558 def test_replace_run(self):
1559 with pytest.raises(Ignore):
1560 self.task_replaced_by_other_task.run()
1561
1562 def test_replace_run_with_autoretry(self):
1563 with pytest.raises(Ignore):

Callers

nothing calls this directly

Calls 2

raisesMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected