mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue