summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-03 23:59:29 -0500
committerChris McDonough <chrism@plope.com>2011-01-03 23:59:29 -0500
commitfec457db29d81b399dbcded6026e6b830e55f04b (patch)
tree562a06cc4718df4722c3d53ebc9489ada2a3c1ce
parent4088fe16acad7c2d7bb79a2001b7a5cebb729420 (diff)
downloadpyramid-fec457db29d81b399dbcded6026e6b830e55f04b.tar.gz
pyramid-fec457db29d81b399dbcded6026e6b830e55f04b.tar.bz2
pyramid-fec457db29d81b399dbcded6026e6b830e55f04b.zip
fix docstring
-rw-r--r--pyramid/testing.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyramid/testing.py b/pyramid/testing.py
index 15fc385cd..25aba33ce 100644
--- a/pyramid/testing.py
+++ b/pyramid/testing.py
@@ -433,7 +433,12 @@ class DummyResource:
that will be attached to the resulting resource via
:func:`zope.interface.alsoProvides`. Any extra keywords passed
in the ``kw`` argumnent will be set as direct attributes of
- the resource object."""
+ the resource object.
+
+ .. note:: For backwards compatibility purposes, this class can also
+ be imported as :class:`pyramid.testing.DummyModel`.
+
+ """
self.__name__ = __name__
self.__parent__ = __parent__
if __provides__ is not None:
@@ -521,8 +526,6 @@ class DummyRequest(object):
Extra keyword arguments are assigned as attributes of the request
itself.
- .. note:: For backwards compatibility purposes, this class can also be
- imported as :class:`pyramid.testing.DummyModel`.
"""
implements(IRequest)
method = 'GET'