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

Method test_log_dict_message

tests/utils/test_logging.py:362–366  ·  view source on GitHub ↗

Test logging dict as message.

(self)

Source from the content-addressed store, hash-verified

360 logger.close()
361
362 def test_log_dict_message(self):
363 """Test logging dict as message."""
364 logger = Logger(console=False)
365 logger.info({"key": "value", "number": 42})
366 logger.close()
367
368
369class TestLoggerRegistration:

Callers

nothing calls this directly

Calls 3

infoMethod · 0.95
closeMethod · 0.95
LoggerClass · 0.90

Tested by

no test coverage detected