diff options
Diffstat (limited to 'tests/template_tests/tests.py')
| -rw-r--r-- | tests/template_tests/tests.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index 8b93039dca..c57c3d1479 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -8,15 +8,18 @@ import unittest from django import template from django.contrib.auth.models import Group from django.core import urlresolvers -from django.template import (base as template_base, loader, - Context, RequestContext, Template, TemplateSyntaxError) +from django.template import ( + Context, RequestContext, Template, TemplateSyntaxError, + base as template_base, loader, +) from django.template.engine import Engine from django.template.loaders import app_directories, filesystem from django.test import RequestFactory, SimpleTestCase -from django.test.utils import extend_sys_path, ignore_warnings, override_settings -from django.utils.deprecation import RemovedInDjango20Warning +from django.test.utils import ( + extend_sys_path, ignore_warnings, override_settings, +) from django.utils._os import upath - +from django.utils.deprecation import RemovedInDjango20Warning TESTS_DIR = os.path.dirname(os.path.dirname(os.path.abspath(upath(__file__)))) |
