mirror of
https://github.com/django/django.git
synced 2025-11-19 19:24:46 +00:00
Refs #35680 -- Sorted shell default autoimports to prevent isort mismatches.
This commit is contained in:
parent
be8c9b19ba
commit
e767bd6838
2 changed files with 4 additions and 4 deletions
|
|
@ -355,7 +355,7 @@ class ShellCommandAutoImportsTestCase(SimpleTestCase):
|
|||
" import shell\n"
|
||||
" import django\n"
|
||||
" from django.conf import settings\n"
|
||||
" from django.db import connection, reset_queries, models\n"
|
||||
" from django.db import connection, models, reset_queries\n"
|
||||
" from django.db.models import functions\n"
|
||||
" from django.utils import timezone\n"
|
||||
" from django.contrib.contenttypes.models import ContentType\n"
|
||||
|
|
@ -411,7 +411,7 @@ class ShellCommandAutoImportsTestCase(SimpleTestCase):
|
|||
1: "6 objects imported automatically (use -v 2 for details).",
|
||||
2: "6 objects imported automatically:\n\n"
|
||||
" from django.conf import settings\n"
|
||||
" from django.db import connection, reset_queries, models\n"
|
||||
" from django.db import connection, models, reset_queries\n"
|
||||
" from django.db.models import functions\n"
|
||||
" from django.utils import timezone",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue