Bases: AssertionError
AssertionError
When a http response status code does not match the expected.
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.