From fec457db29d81b399dbcded6026e6b830e55f04b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 3 Jan 2011 23:59:29 -0500 Subject: fix docstring --- pyramid/testing.py | 9 ++++++--- 1 file 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' -- cgit v1.2.3