From 7d32df3d33354dc34c1cb0a086463e4f23d968ce Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 7 Jan 2009 04:15:27 +0000 Subject: - Add a method named ``assert_`` to the DummyTemplateRenderer. This method accepts keyword arguments. Each key/value pair in the keyword arguments causes an assertion to be made that the renderer received this key with a value equal to the asserted value. - Projects generated by the paster templates now use the ``DummyTemplateRenderer.assert_`` method in their view tests. --- docs/api/testing.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/api/testing.rst') diff --git a/docs/api/testing.rst b/docs/api/testing.rst index 51b017fbf..9aebc7d30 100644 --- a/docs/api/testing.rst +++ b/docs/api/testing.rst @@ -23,4 +23,8 @@ .. autoclass:: DummyRequest :members: + .. autoclass:: DummyTemplateRenderer + :members: + + -- cgit v1.2.3