summaryrefslogtreecommitdiff
path: root/tests/shell/tests.py
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2025-07-18 08:47:44 -0300
committerGitHub <noreply@github.com>2025-07-18 08:47:44 -0300
commite767bd6838d40893b001c1ad6ba2ab9293527532 (patch)
tree61b1e2ab38fbca1b997d4125e4ebb11818d42da3 /tests/shell/tests.py
parentbe8c9b19baeb4daf6bf2e603673714c7536b657c (diff)
Refs #35680 -- Sorted shell default autoimports to prevent isort mismatches.
Diffstat (limited to 'tests/shell/tests.py')
-rw-r--r--tests/shell/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell/tests.py b/tests/shell/tests.py
index 8ffbc3fa4f..78e61e6a9d 100644
--- a/tests/shell/tests.py
+++ b/tests/shell/tests.py
@@ -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",
}