MCPcopy
hub / github.com/celery/celery / test_renaming_base_logger

Method test_renaming_base_logger

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

Source from the content-addressed store, hash-verified

337 return get_task_logger('test_task_logger')
338
339 def test_renaming_base_logger(self):
340 with pytest.raises(RuntimeError):
341 get_task_logger('celery')
342
343 def test_renaming_task_logger(self):
344 with pytest.raises(RuntimeError):

Callers

nothing calls this directly

Calls 2

get_task_loggerFunction · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected