diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2011-01-16 14:21:06 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2011-01-16 14:21:06 -0700 |
| commit | e849fee8351f77d1a2afd97748dd14e3603c47a8 (patch) | |
| tree | c7f39b73d18e659a99bb547967e70de6754ca986 /docs | |
| parent | 5c2dbda08499dcf2ddfc18e86bcc20253666b863 (diff) | |
| download | pyramid-e849fee8351f77d1a2afd97748dd14e3603c47a8.tar.gz pyramid-e849fee8351f77d1a2afd97748dd14e3603c47a8.tar.bz2 pyramid-e849fee8351f77d1a2afd97748dd14e3603c47a8.zip | |
remove reference to obsolete begin() method
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/testing.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst index a6c125951..1428f3476 100644 --- a/docs/narr/testing.rst +++ b/docs/narr/testing.rst @@ -148,14 +148,14 @@ other than ``None`` during the course of a single test, you can pass a testing.tearDown() If you pass a :term:`request` object into :func:`pyramid.testing.setUp` -within your test case's ``setUp``, any test method attached to the ``MyTest`` -test case that directly or indirectly calls -:func:`pyramid.threadlocal.get_current_request` will receive the request you -passed into the ``begin`` method. Otherwise, during testing, -:func:`pyramid.threadlocal.get_current_request` will return ``None``. We use -a "dummy" request implementation supplied by -:class:`pyramid.testing.DummyRequest` because it's easier to construct than a -"real" :app:`Pyramid` request object. +within your test case's ``setUp``, any test method attached to the +``MyTest`` test case that directly or indirectly calls +:func:`pyramid.threadlocal.get_current_request` will receive the request +object. Otherwise, during testing, +:func:`pyramid.threadlocal.get_current_request` will return ``None``. +We use a "dummy" request implementation supplied by +:class:`pyramid.testing.DummyRequest` because it's easier to construct +than a "real" :app:`Pyramid` request object. What? ~~~~~ |
