MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / setUp

Method setUp

tests/logger/test_formatters.py:127–129  ·  view source on GitHub ↗

Test preparation

(self)

Source from the content-addressed store, hash-verified

125 """Test CustomFormatter class"""
126
127 def setUp(self):
128 """Test preparation"""
129 self.formatter = CustomFormatter("%(levelname)s - %(message)s")
130
131 def test_format_with_attributes(self):
132 """Test log formatting with attributes"""

Callers

nothing calls this directly

Calls 1

CustomFormatterClass · 0.90

Tested by

no test coverage detected