def test_resumeProducingProducesContent(self):
    '\n        L{NoRangeStaticProducer.resumeProducing} writes content from the\n        resource to the request.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.NoRangeStaticProducer(request, StringIO(content))
    producer.start()
    self.assertEqual(content, b''.join(request.written))
L{NoRangeStaticProducer.resumeProducing} writes content from the
resource to the request.
def test_resumeProducingProducesContent(self):
    '\n        L{NoRangeStaticProducer.resumeProducing} writes content from the\n        resource to the request.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.NoRangeStaticProducer(request, StringIO(content))
    producer.start()
    self.assertEqual(content, b.join(request.written))