summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_jslex.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2015-04-17 17:38:20 -0400
committerSimon Charette <charette.s@gmail.com>2015-05-20 13:46:13 -0400
commitbe67400b477c1b0e7e81766f41bbceed0de74bdc (patch)
treefd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/utils_tests/test_jslex.py
parente2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff)
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/utils_tests/test_jslex.py')
-rw-r--r--tests/utils_tests/test_jslex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils_tests/test_jslex.py b/tests/utils_tests/test_jslex.py
index 2186af976b..42d0346144 100644
--- a/tests/utils_tests/test_jslex.py
+++ b/tests/utils_tests/test_jslex.py
@@ -3,11 +3,11 @@
# originally from https://bitbucket.org/ned/jslex
from __future__ import unicode_literals
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.utils.jslex import JsLexer, prepare_js_for_gettext
-class JsTokensTest(TestCase):
+class JsTokensTest(SimpleTestCase):
LEX_CASES = [
# ids
("a ABC $ _ a123", ["id a", "id ABC", "id $", "id _", "id a123"]),
@@ -207,7 +207,7 @@ GETTEXT_CASES = (
)
-class JsToCForGettextTest(TestCase):
+class JsToCForGettextTest(SimpleTestCase):
pass