diff options
| author | Markus Holtermann <info@markusholtermann.eu> | 2017-05-09 00:55:54 +0200 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2017-05-09 11:15:41 +0200 |
| commit | 8e352876c337332b45a72da8bbccad2830c7b1e0 (patch) | |
| tree | 817eb269accae5211795e040b5782f19f9f49c36 | |
| parent | a87189fc5e2e874219d20700cf811345138dd365 (diff) | |
Refs #22397 -- Removed model in test cleanup
The test was failing when using --keepdb due to a pre-existing
PonyStables model.
Thanks Florian Apolloner for the report
| -rw-r--r-- | tests/migrations/test_operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index a6f713e321..7b2608936d 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1105,7 +1105,7 @@ class OperationTests(OperationTestBase): ]) self.assertTableExists("test_rmflmmwt_ponystables") - operations = [migrations.RemoveField("Pony", "stables")] + operations = [migrations.RemoveField("Pony", "stables"), migrations.DeleteModel("PonyStables")] self.apply_operations("test_rmflmmwt", project_state, operations=operations) def test_remove_field(self): |
