diff options
| author | Jeff Dairiki <dairiki@dairiki.org> | 2015-04-15 12:12:19 -0700 |
|---|---|---|
| committer | Jeff Dairiki <dairiki@dairiki.org> | 2015-04-15 12:34:10 -0700 |
| commit | 875b90d3376c060dea469bc7110c51e20b2eee0a (patch) | |
| tree | 591cfdd6c46fff53125a924bcd7e1908e7032d1c /HACKING.txt | |
| parent | fa16cb17480543f027bd5316edd3d4878513e5f7 (diff) | |
| download | pyramid-875b90d3376c060dea469bc7110c51e20b2eee0a.tar.gz pyramid-875b90d3376c060dea469bc7110c51e20b2eee0a.tar.bz2 pyramid-875b90d3376c060dea469bc7110c51e20b2eee0a.zip | |
Add tests for temporary_response context manager
These tests test for, among other things, the nits described in comments
on #1563, namely:
- ``Request.response`` should be restored even if the renderer raises an
exception
- If ``request.response`` is initially set to ``None``, it should be
restored to ``None`` (rather than deleted).
(Some of these tests currently fail.)
Diffstat (limited to 'HACKING.txt')
0 files changed, 0 insertions, 0 deletions
