Permalink
Browse files

Fixed some flake8 issues

  • Loading branch information...
1 parent 15f82c7 commit 8faaf03b86030f242e35aebd56d9b969c53e7be9 @alex alex committed Oct 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/migrations/test_executor.py
@@ -130,13 +130,13 @@ def test_empty_plan(self):
# 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)

0 comments on commit 8faaf03

Please sign in to comment.