twisted.test.test_amp.FakeSender class documentationtwisted.test.test_amp
(View In Hierarchy)
This is a fake implementation of the 'box sender' interface implied by
AMP.
| Method | __init__ | Create a fake sender and initialize the list of received boxes and unhandled errors. |
| Method | expectError | Expect one error, so that the test doesn't fail. |
| Method | sendBox | Accept a box, but don't do anything. |
| Method | unhandledError | Deal with failures by instantly re-raising them for easier debugging. |