Bump to 2.2.1 and black some files
This commit is contained in:
1 parent
50bbed4a1a
commit
a5e17d0df1
6 files changed
+15
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user