integration/helpers/exception.py (2 lines of code) (raw):

from py.error import Error class StatusCodeError(Error): """raise when the return status code is not match the expected one"""