class BetterTestApp(webtest.TestApp):
    """A testapp that prints the body when status does not match."""

def _check_status(self, status, res):
    if status is not None and status != res.status_int:
        pass
Поиск реальной ошибки в провале теста Webtest