Part of lp.testing View In Hierarchy
This prevents the events from propagating to their normal subscribers, unless propagate=True is passed to the constructor. The recorded events can be accessed via the 'events' list.
propagate=True