[Erp5-report] r43846 kazuhiko - /erp5/trunk/products/ERP5OOo/tests/testDms.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 1 11:11:08 CET 2011
Author: kazuhiko
Date: Tue Mar 1 11:11:08 2011
New Revision: 43846
URL: http://svn.erp5.org?rev=43846&view=rev
Log:
Image_view/image_view was renamed to Image_view/my_thumbnail.
Modified:
erp5/trunk/products/ERP5OOo/tests/testDms.py
Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=43846&r1=43845&r2=43846&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Tue Mar 1 11:11:08 2011
@@ -2511,7 +2511,7 @@ class TestDocumentWithSecurity(TestDocum
image_module = self.portal.getDefaultModule(image_portal_type)
image = image_module.newContent(portal_type=image_portal_type)
self.assertEqual('thumbnail',
- image.Image_view._getOb("image_view", None).get_value('image_display'))
+ image.Image_view._getOb('my_thumbnail', None).get_value('image_display'))
self.assertEqual((user_pref.getPreferredThumbnailImageWidth(),
user_pref.getPreferredThumbnailImageHeight()),
image.getSizeFromImageDisplay('thumbnail'))
More information about the Erp5-report
mailing list