MCPcopy Create free account
hub / github.com/Pylons/webtest / _check_errors

Method _check_errors

webtest/app.py:690–694  ·  view source on GitHub ↗
(self, res)

Source from the content-addressed store, hash-verified

688 "Bad response: %s (not %s)\n%s", res_status, status, res)
689
690 def _check_errors(self, res):
691 errors = res.errors
692 if errors:
693 raise AppError(
694 "Application had errors logged:\n%s", errors)
695
696 def _make_environ(self, extra_environ=None):
697 environ = self.extra_environ.copy()

Callers 1

do_requestMethod · 0.95

Calls 1

AppErrorClass · 0.85

Tested by

no test coverage detected