From c3cc889a81ebf83689e47974f525109393a9fa33 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 19 Nov 2009 19:43:11 +0000 Subject: Rendering. --- CHANGES.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 14f06034f..e9877ae35 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -112,7 +112,7 @@ Backwards Incompatibilites currently pass a non-registry-aware request object, you have two choices: - - Use the ``repoze.bfg.threadlocal.get_current_request`` API in a + * Use the ``repoze.bfg.threadlocal.get_current_request`` API in a test bounded by the ``repoze.bfg.testing.setUp`` and ``repoze.bfg.testing.tearDown`` functions. This API will return a ``repoze.bfg.testing.DummyRequest`` that has the current registry @@ -120,9 +120,11 @@ Backwards Incompatibilites ``repoze.bfg.threadlocal_get_current_registry`` or ``zope.component.getSiteManager``) as its ``registry`` attribute. - - Use the ``repoze.bfg.threadlocal.get_current_registry`` API: call - this function and add an attribute to your unit test request - object named ``registry`` with the result. + * Use the ``repoze.bfg.threadlocal.get_current_registry`` API in a + test bounded by the ``repoze.bfg.testing.setUp`` and + ``repoze.bfg.testing.tearDown`` functions: call this function and + add an attribute to your unit test request object named + ``registry`` with the result. 1.1 (2009-11-15) ================ -- cgit v1.2.3