Ejemplo n.º 1
0
 def test_drawing_type(self):
     self.assert_(odf_new_container_from_type('drawing'))
Ejemplo n.º 2
0
 def test_presentation_type(self):
     self.assert_(odf_new_container_from_type('presentation'))
Ejemplo n.º 3
0
 def test_text_type(self):
     self.assert_(odf_new_container_from_type('text'))
Ejemplo n.º 4
0
 def test_spreadsheet_type(self):
     self.assert_(odf_new_container_from_type('spreadsheet'))
Ejemplo n.º 5
0
 def test_clone(self):
     container = odf_new_container_from_type('text')
     clone = container.clone()
     self.assertEqual(clone.uri, None)
     self.assertNotEqual(clone._odf_container__data, None)