summaryrefslogtreecommitdiff
path: root/tests/field_deconstruction
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-30 14:34:45 -0400
committerTim Graham <timograham@gmail.com>2014-07-04 14:15:00 -0400
commit7fd55c3481a004afb049e15ae3b8c93ce8bf0603 (patch)
treea77d290416d7d4cd1eebd437d6b2a9f7097ad45e /tests/field_deconstruction
parent1966054febbb96b713db27513617eabdbd70957b (diff)
Fixed #20631 -- Increased the default EmailField max_length to 254.
Thanks pmartin for the report.
Diffstat (limited to 'tests/field_deconstruction')
-rw-r--r--tests/field_deconstruction/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/field_deconstruction/tests.py b/tests/field_deconstruction/tests.py
index 04d4c6a6ad..2f0732a60e 100644
--- a/tests/field_deconstruction/tests.py
+++ b/tests/field_deconstruction/tests.py
@@ -128,7 +128,7 @@ class FieldDeconstructionTests(TestCase):
name, path, args, kwargs = field.deconstruct()
self.assertEqual(path, "django.db.models.EmailField")
self.assertEqual(args, [])
- self.assertEqual(kwargs, {"max_length": 75})
+ self.assertEqual(kwargs, {"max_length": 254})
field = models.EmailField(max_length=255)
name, path, args, kwargs = field.deconstruct()
self.assertEqual(path, "django.db.models.EmailField")