|
@@ -6,7 +6,7 @@ from unittest import skipIf
|
|
|
|
|
|
from django.contrib.humanize.templatetags import humanize
|
|
|
from django.template import Context, Template, defaultfilters
|
|
|
-from django.test import TestCase, modify_settings, override_settings
|
|
|
+from django.test import SimpleTestCase, modify_settings, override_settings
|
|
|
from django.utils import translation
|
|
|
from django.utils.html import escape
|
|
|
from django.utils.timezone import get_fixed_timezone, utc
|
|
@@ -36,7 +36,7 @@ class MockDateTime(datetime.datetime):
|
|
|
|
|
|
|
|
|
@modify_settings(INSTALLED_APPS={'append': 'django.contrib.humanize'})
|
|
|
-class HumanizeTests(TestCase):
|
|
|
+class HumanizeTests(SimpleTestCase):
|
|
|
|
|
|
def humanize_tester(self, test_list, result_list, method, normalize_result_func=escape):
|
|
|
for test_content, result in zip(test_list, result_list):
|