From 16f26defa7510707742a15aa89cae56f11d14c3f Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Wed, 3 Dec 2014 17:36:17 -0300 Subject: Converted recently refactored templates tests to SimpleTestCase. These test methods don't need DB setup/teardown. Refs #23768 and b872134b. --- tests/template_tests/syntax_tests/test_named_endblock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/template_tests/syntax_tests/test_named_endblock.py') diff --git a/tests/template_tests/syntax_tests/test_named_endblock.py b/tests/template_tests/syntax_tests/test_named_endblock.py index d12c14d503..7a06498d6b 100644 --- a/tests/template_tests/syntax_tests/test_named_endblock.py +++ b/tests/template_tests/syntax_tests/test_named_endblock.py @@ -1,11 +1,11 @@ from django.template.base import TemplateSyntaxError from django.template.loader import get_template -from django.test import TestCase +from django.test import SimpleTestCase from .utils import render, setup -class NamedEndblockTests(TestCase): +class NamedEndblockTests(SimpleTestCase): @setup({'namedendblocks01': '1{% block first %}_{% block second %}' '2{% endblock second %}_{% endblock first %}3'}) -- cgit v1.3