MCPcopy
hub / github.com/celery/celery / test_renaming_task_logger

Method test_renaming_task_logger

t/unit/app/test_log.py:343–345  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

341 get_task_logger('celery')
342
343 def test_renaming_task_logger(self):
344 with pytest.raises(RuntimeError):
345 get_task_logger('celery.task')
346
347
348class MockLogger(logging.Logger):

Callers

nothing calls this directly

Calls 2

get_task_loggerFunction · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected