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_ssi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/template_tests/syntax_tests/test_ssi.py') diff --git a/tests/template_tests/syntax_tests/test_ssi.py b/tests/template_tests/syntax_tests/test_ssi.py index 33db059c92..d6945bdf60 100644 --- a/tests/template_tests/syntax_tests/test_ssi.py +++ b/tests/template_tests/syntax_tests/test_ssi.py @@ -1,7 +1,7 @@ import os import warnings -from django.test import override_settings, TestCase +from django.test import override_settings, SimpleTestCase from django.utils._os import upath from django.utils.deprecation import RemovedInDjango19Warning @@ -13,7 +13,7 @@ root = os.path.abspath(os.path.join(cwd, "..")) @override_settings(ALLOWED_INCLUDE_ROOTS=(root)) -class SsiTagTests(TestCase): +class SsiTagTests(SimpleTestCase): # Test normal behavior @setup({'ssi01': '{%% ssi "%s" %%}' % os.path.join( -- cgit v1.3