MCPcopy Create free account
hub / github.com/FDio/vpp / register_hook

Method register_hook

test/vpp_papi_provider.py:294–300  ·  view source on GitHub ↗

Replace hook registration with new hook :param hook:

(self, hook)

Source from the content-addressed store, hash-verified

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."""

Callers 2

setUpClassMethod · 0.80
setUpClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected