Commit ed8820b1 authored by Nicolas Delaby's avatar Nicolas Delaby

After refreshing document by OOo, the filename value may change and is unpredictable.

Other checks regarding image size assert that Image is still well replaced.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41626 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f818d99
......@@ -1133,7 +1133,6 @@ return []
self.assertTrue(odf_document is not None)
builder = OOoBuilder(odf_document)
content_xml = builder.extract("content.xml")
self.assertTrue(content_xml.find("test_image.png") > 0)
content = etree.XML(content_xml)
image_frame_xpath = '//draw:frame[@draw:name="my_default_image_absolute_url"]'
image_frame_list = content.xpath(image_frame_xpath, namespaces=content.nsmap)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment