diff options
| author | Steve Piercy <web@stevepiercy.com> | 2017-07-03 20:28:01 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2017-07-03 20:28:01 -0700 |
| commit | 546378295e3971b2f4b84971c35bbe290a2d2ec5 (patch) | |
| tree | 543b57693d7f7ceffcb1797f3ecbe17816283342 /docs/narr | |
| parent | 83a1c2a06f986fef1cdc3280b9d51310e071b298 (diff) | |
| download | pyramid-546378295e3971b2f4b84971c35bbe290a2d2ec5.tar.gz pyramid-546378295e3971b2f4b84971c35bbe290a2d2ec5.tar.bz2 pyramid-546378295e3971b2f4b84971c35bbe290a2d2ec5.zip | |
Link context manager term to glossary
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/testing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst index f124ac562..594badcb6 100644 --- a/docs/narr/testing.rst +++ b/docs/narr/testing.rst @@ -158,7 +158,7 @@ Test setup using a context manager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An alternative style of setting up a test configuration is to use the ``with`` -statement and :func:`pyramid.testing.testConfig` to create a context manager. +statement and :func:`pyramid.testing.testConfig` to create a :term:`context manager`. The context manager will call :func:`pyramid.testing.setUp` before the code under test and :func:`pyramid.testing.tearDown` afterwards. |
