mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
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
This commit is contained in:
parent
a87189fc5e
commit
8e352876c3
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue