              'title': 'x' * 201,
          }
          serializer = ActionItemSerializer(data=data)
          self.assertEquals(serializer.is_valid(), False)
          self.assertEquals(serializer.errors, {'title': [u'Ensure this value has at most 200 characters (it has 201).']})
  
      def test_default_modelfield_max_length_exceeded(self):
          data = {
              'title': 'Testing "info" field...',
              'info': 'x' * 13,
 
</s> remove         self.assertEquals(serializer.errors, {'info': [u'Ensure this value has at most 12 characters (it has 13).']})
 </s> add         self.assertEquals(serializer.errors, {'info': ['Ensure this value has at most 12 characters (it has 13).']}) </s> remove         self.assertEquals(serializer.errors, {'content': [u'Ensure this value has at most 1000 characters (it has 1001).']})
 </s> add         self.assertEquals(serializer.errors, {'content': ['Ensure this value has at most 1000 characters (it has 1001).']}) </s> remove         self.assertEquals(serializer.errors, {'content': [u'Ensure this value has at most 1000 characters (it has 1001).']})
 </s> add         self.assertEquals(serializer.errors, {'content': ['Ensure this value has at most 1000 characters (it has 1001).']}) </s> remove         self.assertEquals(serializer.errors, {'email': [u'This field is required.']})
 </s> add         self.assertEquals(serializer.errors, {'email': ['This field is required.']}) </s> remove         'invalid': _(u"'%s' value has an invalid date format. It must be "
                     u"in YYYY-MM-DD format."),
        'invalid_date': _(u"'%s' value has the correct format (YYYY-MM-DD) "
                          u"but it is an invalid date."),
 </s> add         'invalid': _("'%s' value has an invalid date format. It must be "
                     "in YYYY-MM-DD format."),
        'invalid_date': _("'%s' value has the correct format (YYYY-MM-DD) "
                          "but it is an invalid date."),
        self.assertEquals(serializer.errors, {'title': ['Ensure this value has at most 200 characters (it has 201).']})
              'title': 'x' * 201,
          }
          serializer = ActionItemSerializer(data=data)
          self.assertEquals(serializer.is_valid(), False)
        self.assertEquals(serializer.errors, {'title': ['Ensure this value has at most 200 characters (it has 201).']})
  
      def test_default_modelfield_max_length_exceeded(self):
          data = {
              'title': 'Testing "info" field...',
              'info': 'x' * 13,
keep keep keep keep replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/tests/serializer.py