diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-06-19 15:36:02 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-06-19 15:36:02 +0100 |
| commit | 2ae8a8a77d6968a155db9b17ba13e21d91bd351b (patch) | |
| tree | 0c80bd99e5c94328fab493a21f30bd61e992c565 /tests/migrations/test_executor.py | |
| parent | 9daf81b94e7945d7adfdf62206cf9cb436166f0d (diff) | |
Fix test running with new apps stuff/migrate actually running migrations
Diffstat (limited to 'tests/migrations/test_executor.py')
| -rw-r--r-- | tests/migrations/test_executor.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py index 629c47de56..c426defe4a 100644 --- a/tests/migrations/test_executor.py +++ b/tests/migrations/test_executor.py @@ -1,4 +1,5 @@ from django.test import TransactionTestCase +from django.test.utils import override_settings from django.db import connection from django.db.migrations.executor import MigrationExecutor @@ -11,6 +12,9 @@ class ExecutorTests(TransactionTestCase): test failures first, as they may be propagating into here. """ + available_apps = ["migrations"] + + @override_settings(MIGRATION_MODULES={"migrations": "migrations.test_migrations"}) def test_run(self): """ Tests running a simple set of migrations. |
