def test_resumeProducingProducesContent(self):
    '\n        L{SingleRangeStaticProducer.resumeProducing} writes the given amount\n        of content, starting at the given offset, from the resource to the\n        request.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.SingleRangeStaticProducer(request, StringIO(content), 1, 3)
    producer.start()
    self.assertEqual(content[1:4], b''.join(request.written))
L{SingleRangeStaticProducer.resumeProducing} writes the given amount
of content, starting at the given offset, from the resource to the
request.
def test_resumeProducingProducesContent(self):
    '\n        L{SingleRangeStaticProducer.resumeProducing} writes the given amount\n        of content, starting at the given offset, from the resource to the\n        request.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.SingleRangeStaticProducer(request, StringIO(content), 1, 3)
    producer.start()
    self.assertEqual(content[1:4], b.join(request.written))