1. Carl Meyer
  2. south

Commits

Andrew Godwin  committed 7420696

Fix tests from dependency change

  • Participants
  • Parent commits 8b6cbc2
  • Branches default

Comments (0)

Files changed (1)

File south/tests/logic.py

View file
         self.assertRaises(
             exceptions.DependsOnUnmigratedApplication,
             Migrations.calculate_dependencies,
+            force=True,
         )
         #depends_on_unknown = self.brokenapp['0002_depends_on_unknown']
         #self.assertRaises(exceptions.DependsOnUnknownMigration,
         super(TestMigration, self).setUp()
         self.fakeapp = Migrations('fakeapp')
         self.otherfakeapp = Migrations('otherfakeapp')
-        Migrations.calculate_dependencies()
+        Migrations.calculate_dependencies(force=True)
 
     def test_str(self):
         migrations = [str(m) for m in self.fakeapp]
         self.deps_a = Migrations('deps_a')
         self.deps_b = Migrations('deps_b')
         self.deps_c = Migrations('deps_c')
-        Migrations.calculate_dependencies()
+        Migrations.calculate_dependencies(force=True)
 
     def test_dependencies(self):
         self.assertEqual(
     installed_apps = ["circular_a", "circular_b"]
 
     def test_plans(self):
-        Migrations.calculate_dependencies()
+        Migrations.calculate_dependencies(force=True)
         circular_a = Migrations('circular_a')
         circular_b = Migrations('circular_b')
         self.assertRaises(