diff options
Diffstat (limited to 'docs/narr/unittesting.rst')
| -rw-r--r-- | docs/narr/unittesting.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/unittesting.rst b/docs/narr/unittesting.rst index 112536100..b6b8a67e6 100644 --- a/docs/narr/unittesting.rst +++ b/docs/narr/unittesting.rst @@ -135,7 +135,7 @@ Configurator within the ``setUp`` method of your test: def tearDown(self): self.config.end() -If you pass a term:`request` object into the ``begin`` method of the +If you pass a :term:`request` object into the ``begin`` method of the configurator within your test case's ``setUp``, any test method attached to the ``MyTest`` test case that directly or indirectly calls :func:`repoze.bfg.threadlocal.get_current_request` will receive the |
