'makeProducer when the Range header requests multiple ranges, at least
one of which matches, sets the response code to \'Partial Content\'.'

def test_oneSatisfiableRangeIsEnough(self):

    request = DummyRequest([])
    request.requestHeaders.addRawHeader('range', 'bytes=1-3,100-200')
    resource = self.makeResourceWithContent('abcdef')
    with resource.openForReading() as file:
        resource.makeProducer(request, file)
        self.assertEqual(http.PARTIAL_CONTENT, request.responseCode)
