mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed relative paths imports per isort 4.3.5.
This commit is contained in:
parent
52e9c75365
commit
463fe11bc8
20 changed files with 24 additions and 24 deletions
|
@ -4,8 +4,8 @@ from django.template.defaultfilters import date
|
|||
from django.test import SimpleTestCase, override_settings
|
||||
from django.utils import timezone, translation
|
||||
|
||||
from ..utils import setup
|
||||
from .timezone_utils import TimezoneTestCase
|
||||
from ..utils import setup
|
||||
|
||||
|
||||
class DateTests(TimezoneTestCase):
|
||||
|
|
|
@ -4,8 +4,8 @@ from django.template.defaultfilters import time as time_filter
|
|||
from django.test import SimpleTestCase, override_settings
|
||||
from django.utils import timezone, translation
|
||||
|
||||
from ..utils import setup
|
||||
from .timezone_utils import TimezoneTestCase
|
||||
from ..utils import setup
|
||||
|
||||
|
||||
class TimeTests(TimezoneTestCase):
|
||||
|
|
|
@ -4,8 +4,8 @@ from django.template.defaultfilters import timesince_filter
|
|||
from django.test import SimpleTestCase
|
||||
from django.test.utils import requires_tz_support
|
||||
|
||||
from ..utils import setup
|
||||
from .timezone_utils import TimezoneTestCase
|
||||
from ..utils import setup
|
||||
|
||||
|
||||
class TimesinceTests(TimezoneTestCase):
|
||||
|
|
|
@ -4,8 +4,8 @@ from django.template.defaultfilters import timeuntil_filter
|
|||
from django.test import SimpleTestCase
|
||||
from django.test.utils import requires_tz_support
|
||||
|
||||
from ..utils import setup
|
||||
from .timezone_utils import TimezoneTestCase
|
||||
from ..utils import setup
|
||||
|
||||
|
||||
class TimeuntilTests(TimezoneTestCase):
|
||||
|
|
|
@ -7,8 +7,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):
|
||||
|
|
|
@ -7,8 +7,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):
|
||||
|
|
|
@ -2,8 +2,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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -3,8 +3,8 @@ from django.template import (
|
|||
)
|
||||
from django.test import SimpleTestCase
|
||||
|
||||
from ..utils import setup
|
||||
from .test_basic import basic_templates
|
||||
from ..utils import setup
|
||||
|
||||
include_fail_templates = {
|
||||
'include-fail1': '{% load bad_tag %}{% badtag %}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue