class documentation
class LengthConsumerTestCase(unittest.TestCase): (source)
Tests for the _LengthConsumer, an L{IConsumer} which is used to compute the length of a produced content.
Method | test_scalars |
When an int is written, _LengthConsumer updates its internal counter. |
Method | test_string |
Use the written string length to update the internal counter |