'Test should_autorenew on the basis of reasons other than
expiry time window.'

@mock.patch('certbot.storage.RenewableCert.ocsp_revoked')
def test_should_autorenew(self, mock_ocsp):

    self.test_rc.configuration['autorenew'] = '0'
    self.assertFalse(self.test_rc.should_autorenew())
    self.test_rc.configuration['autorenew'] = '1'
    for kind in ALL_FOUR:
        self._write_out_kind(kind, 12)
    mock_ocsp.return_value = True
    self.assertTrue(self.test_rc.should_autorenew())
    mock_ocsp.return_value = False
