mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Add unique_together altering operation
This commit is contained in:
@@ -83,7 +83,7 @@ class AutodetectorTests(TestCase):
|
||||
# Right action?
|
||||
action = migration.operations[0]
|
||||
self.assertEqual(action.__class__.__name__, "CreateModel")
|
||||
self.assertEqual(action.name, "Author")
|
||||
self.assertEqual(action.name, "author")
|
||||
|
||||
def test_old_model(self):
|
||||
"Tests deletion of old models"
|
||||
@@ -100,7 +100,7 @@ class AutodetectorTests(TestCase):
|
||||
# Right action?
|
||||
action = migration.operations[0]
|
||||
self.assertEqual(action.__class__.__name__, "DeleteModel")
|
||||
self.assertEqual(action.name, "Author")
|
||||
self.assertEqual(action.name, "author")
|
||||
|
||||
def test_add_field(self):
|
||||
"Tests autodetection of new fields"
|
||||
|
||||
Reference in New Issue
Block a user