Replace hook registration with new hook :param hook:
(self, hook)
| 292 | self._expect_api_retval = self._expect_stack.pop() |
| 293 | |
| 294 | def register_hook(self, hook): |
| 295 | """Replace hook registration with new hook |
| 296 | |
| 297 | :param hook: |
| 298 | |
| 299 | """ |
| 300 | self.hook = hook |
| 301 | |
| 302 | def collect_events(self): |
| 303 | """Collect all events from the internal queue and clear the queue.""" |
no outgoing calls
no test coverage detected