From c1b52dd5aebe46a73b8bf982de6a26cec66f670b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 5 May 2010 01:10:23 +0000 Subject: Fix from teix. --- docs/narr/unittesting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/unittesting.rst b/docs/narr/unittesting.rst index 4ca64eb9d..a8005888f 100644 --- a/docs/narr/unittesting.rst +++ b/docs/narr/unittesting.rst @@ -115,7 +115,7 @@ the :ref:`configuration_module` chapter for information about the API of a :term:`Configurator`, including its ``begin`` and ``end`` methods. -If you also want to make :func:`repoze.bfg.get_current_registry` +If you also want to make :func:`repoze.bfg.get_current_request` return something other than ``None`` during the course of a single test, you can pass a :term:`request` object into the :meth:`repoze.bfg.configuration.Configurator.begin` method of the -- cgit v1.2.3