[Erp5-report] r43969 gabriel - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 4 12:29:37 CET 2011


Author: gabriel
Date: Fri Mar  4 12:29:36 2011
New Revision: 43969

URL: http://svn.erp5.org?rev=43969&view=rev
Log:
update docstrings

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testServer.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testServer.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testServer.py?rev=43969&r1=43968&r2=43969&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testServer.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testServer.py [utf8] Fri Mar  4 12:29:36 2011
@@ -570,7 +570,7 @@ class TestServer(HandlerTestCase):
     self.assertEquals(original_image, geted_image)
 
   def testGetParagraphItemList(self):
-    """Test if manager can get the list of paragraphs items"""
+    """Test if paragraphs are extracted correctly from document"""
     data = encodestring(open("./data/granulate_test.odt").read())
     paragraph_list = self.proxy.getParagraphItemList(data, "odt")
     self.assertEquals([[0, 'P3'], [1, 'P1'], [2, 'P12'], [3, 'P6'], [4, 'P7'],
@@ -588,7 +588,7 @@ class TestServer(HandlerTestCase):
     self.assertEquals(['', 'P1'], paragraph)
 
   def testGetChapterItemList(self):
-    """Test if manager can get the list of chapters list"""
+    """Test if the chapters list is extracted correctly from document"""
     data = encodestring(open("./data/granulate_chapters_test.odt").read())
     chapter_list = self.proxy.getChapterItemList(data, "odt")
     self.assertEquals([[0, 'Title 0'], [1, 'Title 1'], [2, 'Title 2'],



More information about the Erp5-report mailing list