summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-09-26 19:39:42 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-09-26 19:39:42 +0000
commita97648a7e03fb95b09e888e5d59d82d57fb289b7 (patch)
treecc4ad66e8c4e0696be12aaf5f4dc364930823330 /tests
parentd6c2286712c141252537fd8b2695660127b9bba7 (diff)
Corrected regressions introduced in r11586 and r11593
I read the order of arguments in the docs incorrectly, doh! git-svn-id: http://code.djangoproject.com/svn/django/trunk@11594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/decorators/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/decorators/tests.py b/tests/regressiontests/decorators/tests.py
index 8e38ad11ed..64d2d7df73 100644
--- a/tests/regressiontests/decorators/tests.py
+++ b/tests/regressiontests/decorators/tests.py
@@ -105,7 +105,7 @@ class DecoratorsTest(TestCase):
"""
def my_view(request):
return "response"
- my_view_cached = cache_page(123, my_view)
+ my_view_cached = cache_page(my_view, 123)
self.assertEqual(my_view_cached(HttpRequest()), "response")
class MethodDecoratorAdapterTests(TestCase):