summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-15 03:12:05 -0400
committerChris McDonough <chrism@plope.com>2011-08-15 03:12:05 -0400
commit9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43 (patch)
treec6bd2baebf2bde35494c764c0c25c690547188c0
parent1a42bd45ad6dd066078d6d4997d33208b1bd0c63 (diff)
downloadpyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.tar.gz
pyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.tar.bz2
pyramid-9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43.zip
remove temp debugging code
-rw-r--r--TODO.txt4
-rw-r--r--pyramid/tests/test_integration.py12
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)