1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

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,12 +1,12 @@
from django.conf import settings
from django.test import override_settings, TestCase
from django.test import override_settings, SimpleTestCase
from django.utils.six.moves.urllib.parse import urljoin
from .utils import render, setup
@override_settings(MEDIA_URL="/media/", STATIC_URL="/static/")
class StaticTagTests(TestCase):
class StaticTagTests(SimpleTestCase):
@setup({'static-prefixtag01': '{% load static %}{% get_static_prefix %}'})
def test_static_prefixtag01(self):