From 6103bf8050466329aba930df000f042dbdff8efa Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 28 Nov 2009 01:54:50 +0000 Subject: Document the request-only calling convention as the default. --- docs/narr/MyProject/myproject/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/narr/MyProject/myproject/tests.py') diff --git a/docs/narr/MyProject/myproject/tests.py b/docs/narr/MyProject/myproject/tests.py index 8b3fcc73b..7c3caac74 100644 --- a/docs/narr/MyProject/myproject/tests.py +++ b/docs/narr/MyProject/myproject/tests.py @@ -11,8 +11,7 @@ class ViewTests(unittest.TestCase): def test_my_view(self): from myproject.views import my_view - context = testing.DummyModel() request = testing.DummyRequest() - info = my_view(context, request) + info = my_view(request) self.assertEqual(info['project'], 'MyProject') -- cgit v1.2.3