Part of lp.testing.event View In Hierarchy
When an event of the specified type is fired off for an object with the specifed type, the given callback is called.
The callback function should take an object and an event.
At the end of the test you have to unregister the event listener using event_listener.unregister().
Method | __init__ | Undocumented |
Method | __call__ | Undocumented |
Method | unregister | Stop the event listener from listening to events. |