parent
d83e67c121
commit
1b17fb0ae7
4 changed files with 21 additions and 19 deletions
|
|
@ -2122,7 +2122,7 @@ class FieldTest(unittest.TestCase):
|
|||
self.assertTrue(1 in error_dict['comments'])
|
||||
self.assertTrue('content' in error_dict['comments'][1])
|
||||
self.assertEquals(error_dict['comments'][1]['content'],
|
||||
u'Field is required ("content")')
|
||||
'Field is required')
|
||||
|
||||
post.comments[1].content = 'here we go'
|
||||
post.validate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue