summaryrefslogtreecommitdiff
path: root/tests/migrations/test_executor.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-30 10:42:35 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-30 10:42:35 -0700
commit8faaf03b86030f242e35aebd56d9b969c53e7be9 (patch)
tree2c209b790907ae847ecd65f6748dbdea5334d3c7 /tests/migrations/test_executor.py
parent15f82c701161b327cef54b469c00b6cbe01534db (diff)
downloaddjango-8faaf03b86030f242e35aebd56d9b969c53e7be9.tar.gz
Fixed some flake8 issues
Diffstat (limited to 'tests/migrations/test_executor.py')
-rw-r--r--tests/migrations/test_executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index 8a22d6f9de..e86d215849 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -130,13 +130,13 @@ class ExecutorTests(MigrationTestBase):
# Erase all the fake records
executor.recorder.flush()
-
@override_settings(MIGRATION_MODULES={"migrations": "migrations.test_migrations"})
def test_soft_apply(self):
"""
Tests detection of initial migrations already having been applied.
"""
state = {"faked": None}
+
def fake_storer(phase, migration, fake):
state["faked"] = fake
executor = MigrationExecutor(connection, progress_callback=fake_storer)