'L{client._RetryingHTTP11ClientProtocol} does not retry when
L{client._RetryingHTTP11ClientProtocol._shouldRetry} returns C{False}.'

def test_dontRetryIfShouldRetryReturnsFalse(self):

    (d, protocols) = self.retryAttempt(False)
    self.assertEqual(len(protocols), 1)
    return self.assertFailure(d, RequestNotSent)
