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

Method test_app_error

tests/test_debugapp.py:158–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156 print_stderr(str(res))
157
158 def test_app_error(self):
159 res = self.app.get('/')
160 res.charset = 'utf-8'
161 res.text = '°C'
162 AppError('%s %s %s %s', res.status, '', res.request.url, res)
163 res.charset = None
164 AppError('%s %s %s %s', res.status, '', res.request.url, res)
165
166 def test_exception_repr(self):
167 res = self.app.get('/')

Callers

nothing calls this directly

Calls 2

AppErrorClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected