Converted recently refactored templates tests to SimpleTestCase.

These test methods don't need DB setup/teardown.

Refs #23768 and b872134b.
This commit is contained in:
Ramiro Morales 2014-12-03 17:36:17 -03:00 committed by Tim Graham
parent 2cd19f3738
commit 16f26defa7
39 changed files with 90 additions and 90 deletions

View file

@ -1,7 +1,7 @@
from django.conf import settings
from django.template.base import Context, TemplateDoesNotExist, TemplateSyntaxError
from django.template.loader import get_template
from django.test import TestCase
from django.test import SimpleTestCase
from .test_basic import basic_templates
from .utils import render, setup
@ -13,7 +13,7 @@ include_fail_templates = {
}
class IncludeTagTests(TestCase):
class IncludeTagTests(SimpleTestCase):
@setup({'include01': '{% include "basic-syntax01" %}'}, basic_templates)
def test_include01(self):