summaryrefslogtreecommitdiff
path: root/tests/regressiontests/context_processors/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/context_processors/tests.py')
-rw-r--r--tests/regressiontests/context_processors/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/regressiontests/context_processors/tests.py b/tests/regressiontests/context_processors/tests.py
index a05b143e55..c7fc4e5a93 100644
--- a/tests/regressiontests/context_processors/tests.py
+++ b/tests/regressiontests/context_processors/tests.py
@@ -4,7 +4,7 @@ Tests for Django's bundled context processors.
from django.conf import settings
from django.test import TestCase
-
+from django.template import Template
class RequestContextProcessorTests(TestCase):
"""
@@ -79,3 +79,5 @@ class AuthContextProcessorTests(TestCase):
self.assertContains(response, "unicode: super")
self.assertContains(response, "id: 100")
self.assertContains(response, "username: super")
+ # bug #12037 is tested by the {% url %} in the template:
+ self.assertContains(response, "url: /userpage/super/")