@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_rollback(self, _):
    (_, _, _, client) = self._call(['rollback'])
    self.assertEqual(1, client.rollback.call_count)
    (_, _, _, client) = self._call(['rollback', '--checkpoints', '123'])
    client.rollback.assert_called_once_with(mock.ANY, 123, mock.ANY, mock.ANY)
@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_rollback(self, _):
    (_, _, _, client) = self._call(['rollback'])
    self.assertEqual(1, client.rollback.call_count)
    (_, _, _, client) = self._call(['rollback', '--checkpoints', '123'])
    client.rollback.assert_called_once_with(mock.ANY, 123, mock.ANY, mock.ANY)