diff options
Diffstat (limited to 'tests/commands_sql_migrations')
| -rw-r--r-- | tests/commands_sql_migrations/migrations/0001_initial.py | 2 | ||||
| -rw-r--r-- | tests/commands_sql_migrations/tests.py | 7 |
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 |
