コード例 #1
0
 def setUp(self):
     super(AgendaItemToObjectTest, self).setUp()
     self._result = convert.agenda_item_to_object(EXAMPLE_AGENDA_ITEM)
コード例 #2
0
 def setUp(self):
     super(AgendaItemToObjectTest, self).setUp()
     self._result = convert.agenda_item_to_object(EXAMPLE_AGENDA_ITEM)
コード例 #3
0
 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'], '')
コード例 #4
0
 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'], '')