Bump to 2.2.1 and black some files

This commit is contained in:
David-Wobrock committed 2020-05-16 21:16:36 +02:00
1 parent 50bbed4a1a
commit a5e17d0df1
6 files changed
+15 -14

No files matched your search

+4
View File
@@ -79,8 +79,12 @@ class DataMigrationDetectionTestCase(unittest.TestCase):
def test_correct_get_model_import(self):
def correct_importing_model_forward(apps, schema_editor):
MyModel = apps.get_model("app_data_migrations", "MyModel")
MyVeryLongLongLongModel = apps.get_model(
"app_data_migrations", "MyVeryLongLongLongModel"
)
MyModel.objects.filter(id=1).first()
MyVeryLongLongLongModel.objects.filter(id=1).first()
issues = MigrationLinter.get_data_migration_model_import_issues(
correct_importing_model_forward