From fd59563fbd87fcc56521d8de7814de48f9d66476 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 5 Apr 2011 12:59:21 +0000
Subject: [PATCH] pass format parameter and use entities.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45089 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/tests/testDms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py
index bc0d7ba90b..a40cd8be3b 100644
--- a/product/ERP5OOo/tests/testDms.py
+++ b/product/ERP5OOo/tests/testDms.py
@@ -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&amp;display=%s&amp;quality=75"/></p>' % \
                                               (image_reference, image_display)
     web_page.edit(text_content=html_content)
     mime_type, odt_archive = web_page.convert('odt')
-- 
2.30.9