MCPcopy
hub / github.com/celery/celery / rejecting

Method rejecting

t/unit/tasks/test_trace.py:299–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297 def test_when_Reject(self, mock_traceback_clear):
298 @self.app.task(shared=False)
299 def rejecting():
300 raise Reject()
301
302 retval, info = self.trace(rejecting, (), {})
303 assert info.state == states.REJECTED

Callers

nothing calls this directly

Calls 1

RejectClass · 0.90

Tested by

no test coverage detected