summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_width_ratio.py
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2014-12-03 17:36:17 -0300
committerTim Graham <timograham@gmail.com>2014-12-03 18:56:46 -0500
commit16f26defa7510707742a15aa89cae56f11d14c3f (patch)
tree1af09ea98a1c4810739229a39eab05ed952d1eeb /tests/template_tests/syntax_tests/test_width_ratio.py
parent2cd19f3738b9c4a6861c007bf22f72a386cba07f (diff)
Converted recently refactored templates tests to SimpleTestCase.
These test methods don't need DB setup/teardown. Refs #23768 and b872134b.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_width_ratio.py')
-rw-r--r--tests/template_tests/syntax_tests/test_width_ratio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/syntax_tests/test_width_ratio.py b/tests/template_tests/syntax_tests/test_width_ratio.py
index 05f9e9ac3d..fc098b79cf 100644
--- a/tests/template_tests/syntax_tests/test_width_ratio.py
+++ b/tests/template_tests/syntax_tests/test_width_ratio.py
@@ -1,12 +1,12 @@
from django.template.base import TemplateSyntaxError
from django.template.loader import get_template
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.utils import six
from .utils import render, setup
-class WidthRatioTagTests(TestCase):
+class WidthRatioTagTests(SimpleTestCase):
@setup({'widthratio01': '{% widthratio a b 0 %}'})
def test_widthratio01(self):