MCPcopy
hub / github.com/celery/celery / test_no_shadow_header

Method test_no_shadow_header

t/unit/worker/test_request.py:247–250  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

245 self.add.s(*args)).info(safe=False).get('args')) == args
246
247 def test_no_shadow_header(self):
248 request = self.get_request(self.add.s(2, 2),
249 exclude_headers=['shadow'])
250 assert request.name == 't.unit.worker.test_request.add'
251
252 def test_invalid_eta_raises_InvalidTaskError(self):
253 with pytest.raises(InvalidTaskError):

Callers

nothing calls this directly

Calls 2

get_requestMethod · 0.95
sMethod · 0.45

Tested by

no test coverage detected