summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-04-10 08:13:45 -0400
committerGitHub <noreply@github.com>2017-04-10 08:13:45 -0400
commiteb9a3bd63a2eac2805ce8a23640ba4d7bc31699c (patch)
treeadc889928752e0fcddf39df8fd3e72b8efed9cae /tests
parentb906c3db63deb5ee58ab91fe6a7144ff6f8b6300 (diff)
Refs #26605 -- Isolated a migrations state test.
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_state.py4
1 files changed, 4 insertions, 0 deletions
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)