diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-15 03:12:05 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-15 03:12:05 -0400 |
| commit | 9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43 (patch) | |
| tree | c6bd2baebf2bde35494c764c0c25c690547188c0 | |
| parent | 1a42bd45ad6dd066078d6d4997d33208b1bd0c63 (diff) | |
| download | pyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.tar.gz pyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.tar.bz2 pyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.zip | |
remove temp debugging code
| -rw-r--r-- | TODO.txt | 4 | ||||
| -rw-r--r-- | pyramid/tests/test_integration.py | 12 |
2 files changed, 2 insertions, 14 deletions
@@ -19,8 +19,6 @@ Should-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Kill off ``bfg.routes`` envvars in router. - - Debugging setting for detecting why authenticated_userid(request) might return None. @@ -34,6 +32,8 @@ Should-Have Nice-to-Have ------------ +- Kill off ``bfg.routes`` envvars in router. + - Some sort of API for rendering a view callable object to a response from within another view callable. diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py index a9fb80d6f..1ebf83062 100644 --- a/pyramid/tests/test_integration.py +++ b/pyramid/tests/test_integration.py @@ -297,18 +297,6 @@ class TestViewPermissionBug(IntegrationBase): class TestDefaultViewPermissionBug(IntegrationBase): # default_view_permission bug as reported by Wiggy at http://lists.repoze.org/pipermail/repoze-dev/2010-October/003602.html package = 'pyramid.tests.defpermbugapp' - def setUp(self): - from pyramid.config import Configurator - config = Configurator(root_factory=self.root_factory, - package=self.package) - config.begin() - config.include(self.package) - config.commit() - app = config.make_wsgi_app() - from webtest import TestApp - self.testapp = TestApp(app) - self.config = config - def test_x(self): res = self.testapp.get('/x', status=403) self.assertTrue('failed permission check' in res.body) |
