mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed imports per isort 4.3.0.
This commit is contained in:
committed by
Carlton Gibson
parent
9cd313fc2e
commit
9bcf73d788
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user