Commit b82c44af by Carlton Gibson

Correct typo in doc string.

parent f07a4f4c
...@@ -271,7 +271,7 @@ class BasicTests(TestCase): ...@@ -271,7 +271,7 @@ class BasicTests(TestCase):
Check _data attribute is cleared on `save()` Check _data attribute is cleared on `save()`
Regression test for #1116 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) serializer = ActionItemSerializer(self.actionitem)
self.assertIsNone(serializer.data.get('id',None), 'New instance. `id` should not be set.') self.assertIsNone(serializer.data.get('id',None), 'New instance. `id` should not be set.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment