From f52d595bd1cef5cb97d440c8ba1b1a9850ec8f4b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 02:36:10 -0500 Subject: Features -------- - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been undeprecated. They are now the canonical setup and teardown APIs for test configuration, replacing "direct" creation of a Configurator. This is a change designed to provide a facade that will protect against any future Configurator deprecations. Paster Templates ---------------- - All paster templates now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand" within their ``tests.py`` module, as per decision in features above. Documentation ------------- - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand", as per decision in features above. - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` instead of Configurator creation and ``Configurator.begin()`` and ``Configurator.end()``. --- TODO.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5f68974b5..c8e2a327f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,10 +8,9 @@ Must-Have (before 1.0) - Consider deprecations for ``model`` and ``resource`` APIs. -- Re-make testing.setUp() and testing.tearDown() the canonical APIs for test - configuration. - -- API docs for ``pyramid.views.action``. +- API docs for ``pyramid.views.action``. (also, @action decorator uses + ``name`` for the method name; consider whether this will be confused with + ``name`` of ``view_config`` which means something else) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. @@ -29,10 +28,6 @@ Must-Have (before 1.0) - Turn Forbidden into a 403. -- @action decorator uses ``name`` for the method name; consider whether this - will be confused with ``name`` of ``view_config`` which means something - else. - - Consider adding a default exception view for HTTPException and attendant ``redirect`` and ``abort`` functions ala Pylons. -- cgit v1.2.3