1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed imports per isort 4.3.0.

This commit is contained in:
Mariusz Felisiak
2018-02-01 09:29:46 +01:00
committed by Carlton Gibson
parent 9cd313fc2e
commit 9bcf73d788
17 changed files with 14 additions and 29 deletions

View File

@@ -534,9 +534,10 @@ class ReverseLazySettingsTest(AdminScriptTestCase):
import error.
"""
def setUp(self):
self.write_settings('settings.py', extra="""
from django.urls import reverse_lazy
LOGIN_URL = reverse_lazy('login')""")
self.write_settings(
'settings.py',
extra="from django.urls import reverse_lazy\nLOGIN_URL = reverse_lazy('login')",
)
def tearDown(self):
self.remove_settings('settings.py')