mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed a regression on Python 2.6 caused by r11623
This might fix #12037, but I cannot reproduce that bug. Refs #12037 git-svn-id: http://code.djangoproject.com/svn/django/trunk@11625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c161bf21f0
commit
a2d8acbacd
6 changed files with 35 additions and 26 deletions
|
@ -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/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue