Exemple #1
0
 def set_tags(self):
     """Setting the tags property changes the underlying content."""
     task = Task(self.document)
     task.tags = ["foo", "bar"]
     self.assertEqual(["foo", "bar"], task._document.content['tags'])