[Erp5-report] r45554 mario.amaral - /erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/han...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 18 18:48:18 CEST 2011
Author: mario.amaral
Date: Mon Apr 18 18:48:18 2011
New Revision: 45554
URL: http://svn.erp5.org?rev=45554&view=rev
Log:
Change testGetImageItemList to expect the new return of getImageItemList function.
Modified:
erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/handler/ooo/tests/testOOGranulator.py
Modified: erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/handler/ooo/tests/testOOGranulator.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/handler/ooo/tests/testOOGranulator.py?rev=45554&r1=45553&r2=45554&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/handler/ooo/tests/testOOGranulator.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo.handler.ooo/src/cloudooo/handler/ooo/tests/testOOGranulator.py [utf8] Mon Apr 18 18:48:18 2011
@@ -109,15 +109,13 @@ class TestOOGranulator(HandlerTestCase):
def testGetImageItemList(self):
"""Test if getImageItemList() returns the right images list"""
image_list = self.oogranulator.getImageItemList()
- self.assertEquals([
- ('10000000000000C80000009C38276C51.jpg', ''),
- ('10000201000000C80000004E7B947D46.png', ''),
- ('10000201000000C80000004E7B947D46.png', 'Illustration 1: TioLive Logo'),
- # XXX The svg image are stored into odf as svm
- ('2000004F00004233000013707E7DE37A.svm', 'Figure 1: Python Logo'),
- ('10000201000000C80000004E7B947D46.png',
- 'Illustration 2: Again TioLive Logo'),
- ], image_list)
+ self.assertEquals([('10000000000000C80000009C38276C51.jpg', ''),
+ ('10000201000000C80000004E7B947D46.png', 'TioLive Logo'),
+ ('10000201000000C80000004E7B947D46.png', ''),
+ # XXX The svg image are stored into odf as svm
+ ('2000004F00004233000013707E7DE37A.svm', 'Python Logo'),
+ ('10000201000000C80000004E7B947D46.png',
+ 'Again TioLive Logo')], image_list)
def testGetImageSuccessfully(self):
"""Test if getImage() returns the right image file successfully"""
More information about the Erp5-report
mailing list