summaryrefslogtreecommitdiff
path: root/tests/shell
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell')
-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",
}