diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-02-25 11:03:30 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-02-25 20:02:56 +0100 |
| commit | b9beb6a52e84e565533f029555eea731d92fe4f3 (patch) | |
| tree | e4676d14b3a1c44be7b641a5c8ebbeff99a3c571 /tests/template_tests/syntax_tests | |
| parent | 1b8a26efa2e45ac471c969791e8c977e6d633091 (diff) | |
[1.11.x] Fixed relative paths imports per isort 4.3.5.
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master.
Diffstat (limited to 'tests/template_tests/syntax_tests')
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/template_tests/syntax_tests/i18n/test_blocktrans.py b/tests/template_tests/syntax_tests/i18n/test_blocktrans.py index 552c08b038..2f37a95970 100644 --- a/tests/template_tests/syntax_tests/i18n/test_blocktrans.py +++ b/tests/template_tests/syntax_tests/i18n/test_blocktrans.py @@ -10,8 +10,8 @@ from django.utils import translation from django.utils.safestring import mark_safe from django.utils.translation import trans_real -from ...utils import setup from .base import MultipleLocaleActivationTestCase, extended_locale_paths, here +from ...utils import setup class I18nBlockTransTagTests(SimpleTestCase): diff --git a/tests/template_tests/syntax_tests/i18n/test_trans.py b/tests/template_tests/syntax_tests/i18n/test_trans.py index dd38608175..17c4e94f0c 100644 --- a/tests/template_tests/syntax_tests/i18n/test_trans.py +++ b/tests/template_tests/syntax_tests/i18n/test_trans.py @@ -8,8 +8,8 @@ from django.utils import translation from django.utils.safestring import mark_safe from django.utils.translation import trans_real -from ...utils import setup from .base import MultipleLocaleActivationTestCase, extended_locale_paths +from ...utils import setup class I18nTransTagTests(SimpleTestCase): diff --git a/tests/template_tests/syntax_tests/i18n/test_underscore_syntax.py b/tests/template_tests/syntax_tests/i18n/test_underscore_syntax.py index aed204d63b..930508c3ac 100644 --- a/tests/template_tests/syntax_tests/i18n/test_underscore_syntax.py +++ b/tests/template_tests/syntax_tests/i18n/test_underscore_syntax.py @@ -4,8 +4,8 @@ from django.template import Context, Template from django.test import SimpleTestCase from django.utils import translation -from ...utils import setup from .base import MultipleLocaleActivationTestCase +from ...utils import setup class MultipleLocaleActivationTests(MultipleLocaleActivationTestCase): diff --git a/tests/template_tests/syntax_tests/test_exceptions.py b/tests/template_tests/syntax_tests/test_exceptions.py index db1e0f9f5f..e3645cb13f 100644 --- a/tests/template_tests/syntax_tests/test_exceptions.py +++ b/tests/template_tests/syntax_tests/test_exceptions.py @@ -1,8 +1,8 @@ from django.template import TemplateDoesNotExist, TemplateSyntaxError from django.test import SimpleTestCase -from ..utils import setup from .test_extends import inheritance_templates +from ..utils import setup class ExceptionsTests(SimpleTestCase): diff --git a/tests/template_tests/syntax_tests/test_include.py b/tests/template_tests/syntax_tests/test_include.py index 3368522065..6f65c85ac1 100644 --- a/tests/template_tests/syntax_tests/test_include.py +++ b/tests/template_tests/syntax_tests/test_include.py @@ -6,8 +6,8 @@ from django.template import ( from django.test import SimpleTestCase, ignore_warnings from django.utils.deprecation import RemovedInDjango21Warning -from ..utils import setup from .test_basic import basic_templates +from ..utils import setup include_fail_templates = { 'include-fail1': '{% load bad_tag %}{% badtag %}', |
