def test_reinstall_success(self):
    self.mock_auth.return_value = mock.Mock()
    self.mock_find_cert.return_value = (False, mock.Mock())
    self._call()
    self.mock_success_installation.assert_called_once_with([self.domain])
def test_reinstall_success(self):
    self.mock_auth.return_value = mock.Mock()
    self.mock_find_cert.return_value = (False, mock.Mock())
    self._call()
    self.mock_success_installation.assert_called_once_with([self.domain])