diff options
| author | django-bot <ops@djangoproject.com> | 2022-02-03 20:24:19 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-07 20:37:05 +0100 |
| commit | 9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch) | |
| tree | f0506b668a013d0063e5fba3dbf4863b466713ba /tests/migrations/test_deprecated_fields.py | |
| parent | f68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff) | |
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/migrations/test_deprecated_fields.py')
| -rw-r--r-- | tests/migrations/test_deprecated_fields.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/migrations/test_deprecated_fields.py b/tests/migrations/test_deprecated_fields.py index 2e9808e20b..63975514f6 100644 --- a/tests/migrations/test_deprecated_fields.py +++ b/tests/migrations/test_deprecated_fields.py @@ -8,7 +8,10 @@ class Tests(MigrationTestBase): """ Deprecated model fields should still be usable in historic migrations. """ - @override_settings(MIGRATION_MODULES={"migrations": "migrations.deprecated_field_migrations"}) + + @override_settings( + MIGRATION_MODULES={"migrations": "migrations.deprecated_field_migrations"} + ) def test_migrate(self): # Make sure no tables are created self.assertTableNotExists("migrations_ipaddressfield") |
