(self)
| 262 | return res |
| 263 | |
| 264 | def stop(self) -> None: |
| 265 | pid = self.get_service_pid() |
| 266 | if not pid: |
| 267 | return |
| 268 | try: |
| 269 | p = psutil.Process(pid) |
| 270 | p.kill() |
| 271 | except: |
| 272 | pass |
| 273 | |
| 274 | def get_log(self) -> str: |
| 275 | if not self.env: |
no test coverage detected