MCPcopy
hub / github.com/celery/celery / Record

Class Record

t/unit/app/test_log.py:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20 def test_no_task(self):
21 class Record:
22 msg = 'hello world'
23 levelname = 'info'
24 exc_text = exc_info = None
25 stack_info = None
26
27 def getMessage(self):
28 return self.msg
29 record = Record()
30 x = TaskFormatter()
31 x.format(record)

Callers 2

test_no_taskMethod · 0.70
test_format_raisesMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_no_taskMethod · 0.56
test_format_raisesMethod · 0.56