diff --git a/tests/migrations/test_state.py b/tests/migrations/test_state.py index 8b3d1f998a..ee6a9544d9 100644 --- a/tests/migrations/test_state.py +++ b/tests/migrations/test_state.py @@ -1017,6 +1017,10 @@ class ModelStateTests(SimpleTestCase): class SearchableLocation(models.Model): keywords = models.CharField(max_length=256) + class Meta: + app_label = 'migrations' + apps = new_apps + class Station(SearchableLocation): name = models.CharField(max_length=128)