diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2025-07-18 08:47:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-18 08:47:44 -0300 |
| commit | e767bd6838d40893b001c1ad6ba2ab9293527532 (patch) | |
| tree | 61b1e2ab38fbca1b997d4125e4ebb11818d42da3 /tests/shell/tests.py | |
| parent | be8c9b19baeb4daf6bf2e603673714c7536b657c (diff) | |
Refs #35680 -- Sorted shell default autoimports to prevent isort mismatches.
Diffstat (limited to 'tests/shell/tests.py')
| -rw-r--r-- | tests/shell/tests.py | 4 |
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", } |
