mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.template import Context, Template
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.utils import html, six, text
|
||||
from django.utils.encoding import force_bytes, force_text
|
||||
from django.utils.functional import lazy
|
||||
@@ -20,7 +20,7 @@ class customescape(six.text_type):
|
||||
return self.replace('<', '<<').replace('>', '>>')
|
||||
|
||||
|
||||
class SafeStringTest(TestCase):
|
||||
class SafeStringTest(SimpleTestCase):
|
||||
def assertRenderEqual(self, tpl, expected, **context):
|
||||
context = Context(context)
|
||||
tpl = Template(tpl)
|
||||
|
||||
Reference in New Issue
Block a user