Check if VPP died before executing a CLI :param cli: CLI string :raises Exception: exception if VPP is not running anymore
(self, cli)
| 213 | self.poll_vpp() |
| 214 | |
| 215 | def before_cli(self, cli): |
| 216 | """ |
| 217 | Check if VPP died before executing a CLI |
| 218 | |
| 219 | :param cli: CLI string |
| 220 | :raises Exception: exception if VPP is not running anymore |
| 221 | |
| 222 | """ |
| 223 | super(PollHook, self).before_cli(cli) |
| 224 | self.poll_vpp() |
| 225 | |
| 226 | |
| 227 | class StepHook(PollHook): |
nothing calls this directly
no test coverage detected