'The second time L{HTTP11ClientProtocol.request} is called, it returns a
L{Deferred} which immediately fires with a L{Failure} wrapping a
L{RequestNotSent} exception.'

def test_secondRequest(self):

    self.protocol.request(SlowRequest())
    def cbNotSent(ignored):
        self.assertEqual(self.transport.value(), '')
    d = self.assertFailure(self.protocol.request(SimpleRequest()), RequestNotSent)
    d.addCallback(cbNotSent)
    return d
