diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2014-12-03 17:36:17 -0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-03 18:56:46 -0500 |
| commit | 16f26defa7510707742a15aa89cae56f11d14c3f (patch) | |
| tree | 1af09ea98a1c4810739229a39eab05ed952d1eeb /tests/template_tests/syntax_tests/test_static.py | |
| parent | 2cd19f3738b9c4a6861c007bf22f72a386cba07f (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_static.py')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_static.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/syntax_tests/test_static.py b/tests/template_tests/syntax_tests/test_static.py index 8b39a1465f..460dbd7077 100644 --- a/tests/template_tests/syntax_tests/test_static.py +++ b/tests/template_tests/syntax_tests/test_static.py @@ -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): |
