From 9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Aug 2011 03:12:05 -0400 Subject: remove temp debugging code --- TODO.txt | 4 ++-- pyramid/tests/test_integration.py | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/TODO.txt b/TODO.txt index 76e0784f2..43734af67 100644 --- a/TODO.txt +++ b/TODO.txt @@ -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) -- cgit v1.2.3