def test_singleUnsatisfiableRangeReturnsSingleRangeStaticProducer(self):
    '\n        makeProducer still returns an instance of L{SingleRangeStaticProducer}\n        when the Range header requests a single unsatisfiable byte range.\n        '
    request = DummyRequest([])
    request.requestHeaders.addRawHeader(b'range', b'bytes=4-10')
    resource = self.makeResourceWithContent(b'abc')
    with resource.openForReading() as file:
        producer = resource.makeProducer(request, file)
        self.assertIsInstance(producer, static.SingleRangeStaticProducer)
makeProducer still returns an instance of L{SingleRangeStaticProducer}
when the Range header requests a single unsatisfiable byte range.
def test_singleUnsatisfiableRangeReturnsSingleRangeStaticProducer(self):
    '\n        makeProducer still returns an instance of L{SingleRangeStaticProducer}\n        when the Range header requests a single unsatisfiable byte range.\n        '
    request = DummyRequest([])
    request.requestHeaders.addRawHeader(b'range', b'bytes=4-10')
    resource = self.makeResourceWithContent(b'abc')
    with resource.openForReading() as file:
        producer = resource.makeProducer(request, file)
        self.assertIsInstance(producer, static.SingleRangeStaticProducer)