Correct typo in doc string.

This commit is contained in:
Carlton Gibson 2013-09-20 14:20:21 +02:00
parent f07a4f4ca3
commit b82c44af48

View File

@ -271,7 +271,7 @@ class BasicTests(TestCase):
Check _data attribute is cleared on `save()`
Regression test for #1116
 id field is not populated is `data` is accessed prior to `save()`
 id field is not populated if `data` is accessed prior to `save()`
"""
serializer = ActionItemSerializer(self.actionitem)
self.assertIsNone(serializer.data.get('id',None), 'New instance. `id` should not be set.')