(self, *args, **kwargs)
| 143 | return self |
| 144 | |
| 145 | def __exit__(self, *args, **kwargs): |
| 146 | # try to kill the websockify proxy gracefully |
| 147 | if self.websockify.is_alive(): |
| 148 | self.websockify.terminate() |
| 149 | self.websockify.join() |
| 150 | |
| 151 | # clean up any processes we started |
| 152 | self.clean_processes() |
| 153 | |
| 154 | def clean_processes(self): |
| 155 | for p in self.processes: |
nothing calls this directly
no test coverage detected