def test_renew_reconstitute_error(self):
    with mock.patch('certbot._internal.main.renewal._reconstitute') as mock_reconstitute:
        mock_reconstitute.side_effect = Exception
        self._test_renew_common(assert_oc_called=False, error_expected=True)
def test_renew_reconstitute_error(self):
    with mock.patch('certbot._internal.main.renewal._reconstitute') as mock_reconstitute:
        mock_reconstitute.side_effect = Exception
        self._test_renew_common(assert_oc_called=False, error_expected=True)