mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #30987 -- Added models.PositiveBigIntegerField.
This commit is contained in:
parent
aa12cf07c9
commit
555bebe774
28 changed files with 112 additions and 11 deletions
|
@ -453,6 +453,13 @@ class FieldDeconstructionTests(SimpleTestCase):
|
|||
self.assertEqual(args, [])
|
||||
self.assertEqual(kwargs, {})
|
||||
|
||||
def test_positive_big_integer_field(self):
|
||||
field = models.PositiveBigIntegerField()
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
self.assertEqual(path, 'django.db.models.PositiveBigIntegerField')
|
||||
self.assertEqual(args, [])
|
||||
self.assertEqual(kwargs, {})
|
||||
|
||||
def test_slug_field(self):
|
||||
field = models.SlugField()
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue