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

Method test_init_with_work_dir

tests/utils/test_logging.py:142–146  ·  view source on GitHub ↗

Test initialization with work_dir.

(self, temp_dir)

Source from the content-addressed store, hash-verified

140 logger.close()
141
142 def test_init_with_work_dir(self, temp_dir):
143 """Test initialization with work_dir."""
144 logger = Logger(work_dir=temp_dir)
145 assert logger is not None
146 logger.close()
147
148 def test_init_console_disabled(self):
149 """Test initialization with console disabled."""

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
LoggerClass · 0.90

Tested by

no test coverage detected