def test_set_done(self): """Changing the done property changes the underlying content.""" task = Task(self.document) self.assertEqual(False, task._document.content['done']) task.done = True self.assertEqual(True, task._document.content['done'])