Part of lp.testing.fixture View In Hierarchy
Instance Variables | oopses | A list of the oops objects raised while the fixture is setup. |
oops_ids | A set of observed oops ids. Used to de-dup reports received over AMQP. |
Method | setUpQueue | Sets up the queue to be used to receive reports. |
Method | sync | Sync the in-memory list of OOPS with the external OOPS source. |
Method | _setUp | Undocumented |
Method | _add_oops | Add an oops if it isn't already recorded. |
Method | _recordOops | Callback from zope publishing to publish oopses. |
The queue is autodelete which means we can only use it once: after that it will be automatically nuked and must be recreated.
This is called from both amqp and in-appserver situations.