'L{Request.finish} triggers all finish notification Deferreds.'

def test_finishNotification(self):

    request = http.Request(DummyChannel(), False)
    finished = request.notifyFinish()
    request.gotLength(1)
    request.finish()
    return finished
