diff options
| author | Simon Charette <charette.s@gmail.com> | 2018-11-23 21:01:44 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-26 10:23:35 -0500 |
| commit | b8763fc0a42e6e80146ec59501e8e4dd1ceb8966 (patch) | |
| tree | 776bcec4c1468750b2c95c73ea6687af55bf4b4a | |
| parent | 133e79399a0aeecaca7379dd79cc1cc3f8b5e7ae (diff) | |
Used SimpleTestCase for template library tests.
| -rw-r--r-- | tests/template_tests/test_library.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/template_tests/test_library.py b/tests/template_tests/test_library.py index 50a00ca082..b7a1f73a2e 100644 --- a/tests/template_tests/test_library.py +++ b/tests/template_tests/test_library.py @@ -1,9 +1,9 @@ from django.template import Library from django.template.base import Node -from django.test import TestCase +from django.test import SimpleTestCase -class FilterRegistrationTests(TestCase): +class FilterRegistrationTests(SimpleTestCase): def setUp(self): self.library = Library() @@ -44,7 +44,7 @@ class FilterRegistrationTests(TestCase): self.library.filter(None, '') -class InclusionTagRegistrationTests(TestCase): +class InclusionTagRegistrationTests(SimpleTestCase): def setUp(self): self.library = Library() @@ -62,7 +62,7 @@ class InclusionTagRegistrationTests(TestCase): self.assertIn('name', self.library.tags) -class SimpleTagRegistrationTests(TestCase): +class SimpleTagRegistrationTests(SimpleTestCase): def setUp(self): self.library = Library() @@ -91,7 +91,7 @@ class SimpleTagRegistrationTests(TestCase): self.library.simple_tag('invalid') -class TagRegistrationTests(TestCase): +class TagRegistrationTests(SimpleTestCase): def setUp(self): self.library = Library() |
