summaryrefslogtreecommitdiff
path: root/tests/commands_sql_migrations
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-09 13:19:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-09 14:24:06 -0500
commita8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch)
tree94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/commands_sql_migrations
parenteb406aa686ff1809903366ef6896037af2f1f69b (diff)
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/commands_sql_migrations')
-rw-r--r--tests/commands_sql_migrations/migrations/0001_initial.py2
-rw-r--r--tests/commands_sql_migrations/tests.py7
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/commands_sql_migrations/migrations/0001_initial.py b/tests/commands_sql_migrations/migrations/0001_initial.py
index 39a53bf68f..6ecefc0e75 100644
--- a/tests/commands_sql_migrations/migrations/0001_initial.py
+++ b/tests/commands_sql_migrations/migrations/0001_initial.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
-from django.db import models, migrations
+from django.db import migrations, models
class Migration(migrations.Migration):
diff --git a/tests/commands_sql_migrations/tests.py b/tests/commands_sql_migrations/tests.py
index 23b37a0f8f..f7c7f5f08c 100644
--- a/tests/commands_sql_migrations/tests.py
+++ b/tests/commands_sql_migrations/tests.py
@@ -3,9 +3,10 @@ from __future__ import unicode_literals
from django.apps import apps
from django.core.management import CommandError
from django.core.management.color import no_style
-from django.core.management.sql import (sql_create, sql_delete, sql_indexes,
- sql_destroy_indexes, sql_all)
-from django.db import connections, DEFAULT_DB_ALIAS
+from django.core.management.sql import (
+ sql_all, sql_create, sql_delete, sql_destroy_indexes, sql_indexes,
+)
+from django.db import DEFAULT_DB_ALIAS, connections
from django.test import TestCase