MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_log_with_kwargs

Method test_log_with_kwargs

tests/utils/test_logging.py:238–240  ·  view source on GitHub ↗

Test logging with kwargs.

(self, logger)

Source from the content-addressed store, hash-verified

236 logger.info(f"Message with {'string'} and {42}")
237
238 def test_log_with_kwargs(self, logger):
239 """Test logging with kwargs."""
240 logger.info("Message", extra={"custom": "data"})
241
242
243class TestLoggerLogMetrics:

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected