twisted.internet.test.test_testing.TestConsumer(object)
class documentationtwisted.internet.test.test_testing
(View In Hierarchy)
A very basic test consumer for use with the NonStreamingProducerTests.
Method | __init__ | Undocumented |
Method | registerProducer | Registers a single producer with this consumer. Just keeps track of it. |
Method | unregisterProducer | Forget the producer we had previously registered. |
Method | write | Some data was written to the consumer: stores it for later use. |