Get the path to the puppet log file.
(self)
| 230 | return self.process is not None and self.process.poll() is None |
| 231 | |
| 232 | def get_log_path(self): |
| 233 | """Get the path to the puppet log file.""" |
| 234 | project_root = os.path.dirname(os.path.dirname(self.main_py)) |
| 235 | return os.path.join(project_root, "puppet.log") |
| 236 | |
| 237 | def flush_log(self): |
| 238 | """Flush the log file to ensure all output is written.""" |
no outgoing calls
no test coverage detected