def test_multipleRangeSets206PartialContent(self):
        """
        makeProducer when the Range header requests a multiple satisfiable
        byte ranges sets the response code on the request to 'Partial
        Content'.
        """
        request = DummyRequest([])
        request.requestHeaders.addRawHeader(b'range', b'bytes=1-3,5-6')
        resource = self.makeResourceWithContent(b'abcdef')
        with resource.openForReading() as file:
            resource.makeProducer(request, file)
            self.assertEqual(
                http.PARTIAL_CONTENT, request.responseCode)

        makeProducer when the Range header requests a multiple satisfiable
        byte ranges sets the response code on the request to 'Partial
        Content'.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_static.py