[Erp5-report] r45089 nicolas - /erp5/trunk/products/ERP5OOo/tests/testDms.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 5 14:59:21 CEST 2011
Author: nicolas
Date: Tue Apr 5 14:59:21 2011
New Revision: 45089
URL: http://svn.erp5.org?rev=45089&view=rev
Log:
pass format parameter and use entities.
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=45089&r1=45088&r2=45089&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Tue Apr 5 14:59:21 2011
@@ -1480,7 +1480,7 @@ class TestDocument(TestDocumentMixin):
# Continue the test with image resizing support
image_display = 'large'
# Add url parameters
- html_content = '<p><img src="%s?display=%s&quality=75"/></p>' % \
+ html_content = '<p><img src="%s?format=jpeg&display=%s&quality=75"/></p>' % \
(image_reference, image_display)
web_page.edit(text_content=html_content)
mime_type, odt_archive = web_page.convert('odt')
More information about the Erp5-report
mailing list