Estou terminando de completar os tests no balaio, e de consertar a '/' no
final das URLs como vimos.
Vou ver os links que passou @gustavofonseca no #824 e mando tudo junto!
certo?


2014-06-05 18:50 GMT-03:00 Gustavo Fonseca <notifications@github.com>:

> In balaio/lib/httpd.py:
>
> > +      - `ServerError`: An unhandled exception occured
> > +      - `ValueError`: Argument with invalid value
> > +      - `TypeError`: Argument of an invalid type
> > +    """
> > +
> > +    def status(self):
> > +        """Check if the XML-RPC endpoint is listening.
> > +        """
> > +        return True
> > +
> > +    def proceed_to_checkout(self, attempt_id):
> > +        """Set an attempt as being ready for checkout.
> > +        """
> > +        attempt = self.request.db.query(models.Attempt).get(attempt_id)
> > +        if not attempt:
> > +            return xmlrpclib.Fault('ValueError', 'Unknown attempt with id %s.' % attempt_id)
>
> Na realidade essa lógica está encapsulada no articletrack.balaio.BalaioRPC,
> vai ser bem simples alterar.
>
> https://github.com/scieloorg/scielo-manager/blob/beta/scielomanager/articletrack/balaio.py#L118
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/scieloorg/balaio/pull/330/files#r13466866>.
>