mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Added UUIDField.deconstruct()
This commit is contained in:
@@ -35,6 +35,14 @@ class TestSaveLoad(TestCase):
|
||||
self.assertEqual(loaded.field, None)
|
||||
|
||||
|
||||
class TestMigrations(TestCase):
|
||||
|
||||
def test_deconstruct(self):
|
||||
field = models.UUIDField()
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
self.assertEqual(kwargs, {})
|
||||
|
||||
|
||||
class TestQuerying(TestCase):
|
||||
def setUp(self):
|
||||
self.objs = [
|
||||
|
||||
Reference in New Issue
Block a user