@mock.patch('certbot._internal.main._find_cert')
@mock.patch('certbot._internal.main._get_and_save_cert')
@mock.patch('certbot._internal.main._report_new_cert')
def test_no_reinstall_text_pause(self, unused_report, mock_auth, mock_find_cert):
    mock_notification = self.mock_get_utility().notification
    mock_notification.side_effect = self._assert_no_pause
    mock_auth.return_value = mock.Mock()
    mock_find_cert.return_value = (False, None)
    self._call('certonly --webroot -d example.com'.split())
@mock.patch('certbot._internal.main._find_cert')
@mock.patch('certbot._internal.main._get_and_save_cert')
@mock.patch('certbot._internal.main._report_new_cert')
def test_no_reinstall_text_pause(self, unused_report, mock_auth, mock_find_cert):
    mock_notification = self.mock_get_utility().notification
    mock_notification.side_effect = self._assert_no_pause
    mock_auth.return_value = mock.Mock()
    mock_find_cert.return_value = (False, None)
    self._call('certonly --webroot -d example.com'.split())