def test_sendRequestBodyFinishedEarlyThenTooManyBytes(self):
        def finisher(producer):
            producer.finished.callback(None)
        return self.assertFailure(
            self._sendRequestBodyFinishedEarlyThenTooManyBytes(finisher),
            WrongBodyLength)
If the request body producer indicates it is done by firing the
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/RequestTests.test_sendRequestBodyFinishedEarlyThenTooManyBytes