def test_multipleRangeGivesMultipleRangeStaticProducer(self):
    '\n        makeProducer when the Range header requests a single byte range\n        returns an instance of MultipleRangeStaticProducer.\n        '
    request = DummyRequest([])
    request.requestHeaders.addRawHeader(b'range', b'bytes=1-3,5-6')
    resource = self.makeResourceWithContent(b'abcdef')
    with resource.openForReading() as file:
        producer = resource.makeProducer(request, file)
        self.assertIsInstance(producer, static.MultipleRangeStaticProducer)
makeProducer when the Range header requests a single byte range
returns an instance of MultipleRangeStaticProducer.
def test_multipleRangeGivesMultipleRangeStaticProducer(self):
    '\n        makeProducer when the Range header requests a single byte range\n        returns an instance of MultipleRangeStaticProducer.\n        '
    request = DummyRequest([])
    request.requestHeaders.addRawHeader(b'range', b'bytes=1-3,5-6')
    resource = self.makeResourceWithContent(b'abcdef')
    with resource.openForReading() as file:
        producer = resource.makeProducer(request, file)
        self.assertIsInstance(producer, static.MultipleRangeStaticProducer)