diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-19 19:43:11 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-19 19:43:11 +0000 |
| commit | c3cc889a81ebf83689e47974f525109393a9fa33 (patch) | |
| tree | 33e0592cd690c14379d7d368560d036585c7689a | |
| parent | a7b67b978e623041edfab54145d3ca24e92ef0f3 (diff) | |
| download | pyramid-c3cc889a81ebf83689e47974f525109393a9fa33.tar.gz pyramid-c3cc889a81ebf83689e47974f525109393a9fa33.tar.bz2 pyramid-c3cc889a81ebf83689e47974f525109393a9fa33.zip | |
Rendering.
| -rw-r--r-- | CHANGES.txt | 10 |
1 files 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) ================ |
