@mock.patch('certbot._internal.main._delete_if_appropriate')
def test_revocation_success(self, mock_delete_if_appropriate):
    self._call()
    mock_delete_if_appropriate.return_value = False
    self.mock_success_revoke.assert_called_once_with(self.tmp_cert_path)
@mock.patch('certbot._internal.main._delete_if_appropriate')
def test_revocation_success(self, mock_delete_if_appropriate):
    self._call()
    mock_delete_if_appropriate.return_value = False
    self.mock_success_revoke.assert_called_once_with(self.tmp_cert_path)