def setUp(self): super(AgendaItemToObjectTest, self).setUp() self._result = convert.agenda_item_to_object(EXAMPLE_AGENDA_ITEM)
def test_that_content_is_empty(self): agenda_item_with_no_content = copy.deepcopy(EXAMPLE_AGENDA_ITEM) agenda_item_with_no_content['content'].clear() result = convert.agenda_item_to_object(agenda_item_with_no_content) self.assertEquals(result['content'], '')