Testing

Tests now match API changes.
The python scripts that are interacting with the server will raise these to
notify the user that a 500,404, or 403 has been issued.


On Wed, Jun 25, 2014 at 2:24 PM, sunjian0924 <notifications@github.com>
wrote:

> In client/exceptions.py:
>
> > +    This exception indicates a generic HPIT connection problem.
> > +    """
> > +
> > +class AuthenticationError(Exception):
> > +    """
> > +    This exception raised on HPIT 403.
> > +    """
> > +    pass
> > +
> > +class ResourceNotFoundError(Exception):
> > +    """
> > +    This exception raised on HPIT 403.
> > +    """
> > +    pass
> > +
> > +class InternalServerError(Exception):
>
> Why ResourceNotFoundError and InternalServerError need to be specified
> specifically, since these exceptions are provided by the web server already?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/tutorgen/hpit_services/pull/16/files#r14203135>.
>