Test initialization with log file.
(self, temp_dir)
| 131 | assert logger is not None |
| 132 | |
| 133 | def test_init_with_log_file(self, temp_dir): |
| 134 | """Test initialization with log file.""" |
| 135 | log_file = os.path.join(temp_dir, "test.log") |
| 136 | logger = Logger(log_file=log_file) |
| 137 | |
| 138 | # Log file should be created |
| 139 | logger.info("Test message") |
| 140 | logger.close() |
| 141 | |
| 142 | def test_init_with_work_dir(self, temp_dir): |
| 143 | """Test initialization with work_dir.""" |